[PATCH] 77864 Fix noexcept conditions for map/set default constructors
Marc Glisse
marc.glisse@inria.fr
Wed Oct 5 12:11:00 GMT 2016
On Wed, 5 Oct 2016, Jonathan Wakely wrote:
> I added conditional noexcept to maps and sets, but forgot to account
> for the comparison function, which could throw when constructed.
IMO you are fighting a losing battle. We should implement noexcept(auto)
(possibly with some private __noexcept_auto__ spelling) and just use that
in most places where we want a conditional noexcept.
--
Marc Glisse
More information about the Gcc-patches
mailing list