On 05/10/16 14:10 +0200, Marc Glisse wrote:
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.

That would be nice, but beyond my ability :-)

So until then we can either remove the exception specs entirely, or
make them correct.

Reply via email to