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



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.

Do you think we should generally be using noexcept(true) rather than
noexcept?


-- 
Murray Cumming
murrayc murrayc com
www.murrayc.com




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]