Re: C++11: Make all destructors noexcept?

2015-08-30 Thread Kjell Ahlstedt
Den 2015-08-30 kl. 11:34, skrev Murray Cumming: On Sat, 2015-08-29 at 17:53 +0200, Jonas Platte wrote: Most destructors are noexcept(true) by default in C++11 already [1]. If some class in *mm has a destructor that can throw exceptions, it's likely to be broken already. [1]:

Re: C++11: Make all destructors noexcept?

2015-08-30 Thread Jonas Platte
Am 30.08.2015 um 11:34 schrieb Murray Cumming: On Sat, 2015-08-29 at 17:53 +0200, Jonas Platte wrote: Most destructors are noexcept(true) by default in C++11 already [1]. If some class in *mm has a destructor that can throw exceptions, it's likely to be broken already. [1]:

Re: C++11: Make all destructors noexcept?

2015-08-30 Thread Murray Cumming
On Sat, 2015-08-29 at 17:53 +0200, Jonas Platte wrote: Most destructors are noexcept(true) by default in C++11 already [1]. If some class in *mm has a destructor that can throw exceptions, it's likely to be broken already. [1]: http://en.cppreference.com/w/cpp/language/destructor Thanks.

Re: C++11: Make all destructors noexcept?

2015-08-29 Thread Jonas Platte
Am 29.08.2015 um 17:39 schrieb Murray Cumming: I wonder, does anyone know if any of our destructors could currently throw an exception, or if it's conceivable for any of them to throw exceptions? If we could make our destructors noexcept (and if that doesn't break ABI) then we could make