Note that, the extensions points are being completely revamped now.
Interesting, how would you use them for this case?
It is envisioned, all such functions, to do (call) the right thing (even when qualified)
so there will be no need to protect yourself by deleting the default.
I have no idea how current extensions points will be handled, though. What the upgrade path will be.
What people think about this?
std::swap(S&, S&) = delete;
In this example, this would be useful to prevent std::sort for example (even if we add operator< ).
Who’s got the sweetest disposition?
One guess, that’s who?
Who’d never, ever start an argument?
Who never shows a bit of temperament?
Who's never wrong but always right?
Who'd never dream of starting a fight?
Who get stuck with all the bad luck?
Std-Proposals mailing list