This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] 77864 Fix noexcept conditions for map/set default constructors


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]