Subject: Re: [std-proposals] deleting qualified named functions
From: ÐÐ¸Ñ Ð°Ð¸Ð» ÐÐ°Ð¹Ð´ÐµÐ½Ð¾Ð² (mihailnajdenov_at_[hidden])
Date: 2020-02-05 07:22:54
On Wed, Feb 5, 2020 at 1:29 PM Daniel Gutson <danielgutson_at_[hidden]> wrote:
> El miÃ©., 5 feb. 2020 06:02, ÐÐ¸Ñ Ð°Ð¸Ð» ÐÐ°Ð¹Ð´ÐµÐ½Ð¾Ð² <mihailnajdenov_at_[hidden]>
>> Note that, the extensions points are being completely revamped now.
>> and others.
> Interesting, how would you use them for this case?
It is envisioned, all such functions, to do (call) the right thing (even
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.
>> On Tue, Feb 4, 2020 at 10:50 PM Daniel Gutson via Std-Proposals <
>> std-proposals_at_[hidden]> wrote:
>>> What people think about this?
>>> struct S
>>> *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
STD-PROPOSALS list run by herb.sutter at gmail.com
Standard Proposals Archives on Google Groups