Subject: Re: [std-proposals] Adding a nullptr_t constructor to weak_ptr
From: Michael Hava (mfh_at_[hidden])
Date: 2019-11-26 03:03:32
(Honestly, this makes me wonder why nullptr can construct an empty std::function, but it's probably best not to go down that rabbit hole.)
I'm guessing that constructor is for symmetry with function pointers (https://godbolt.org/z/UftWpU).
STD-PROPOSALS list run by herb.sutter at gmail.com
Standard Proposals Archives on Google Groups