Subject: [std-proposals] deleting qualified named functions
From: Daniel Gutson (danielgutson_at_[hidden])
Date: 2020-02-04 14:49:52
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 list run by herb.sutter at gmail.com
Standard Proposals Archives on Google Groups