Boost logo

Boost :

Subject: Re: [boost] [any] Divergence between Boost.Any and standard library proposal
From: Gottlob Frege (gottlobfrege_at_[hidden])
Date: 2013-05-06 13:38:29


On Sat, May 4, 2013 at 12:38 PM, Antony Polukhin <antoshkka_at_[hidden]>wrote:

> 2013/5/4 Beman Dawes <bdawes_at_[hidden]>:
>
> >> * ~any() is noexcept
> >
> > By convention, the standard library doesn't add noexcept to
> > destructors. I've forgotten the rationale for that.
> >
>

Isn't the rationale that the language defines all destructors are noexcept
by default?
(I recall that at least being discussed, I think it was accepted?)

Tony


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk