Does it make sense then to add yet another macro?
(BOOST_NOEXCEPT_EXPLICIT_OPERATOR_BOOL)
2014-04-25 22:23 GMT+02:00 Andrey Semashev
On Friday 25 April 2014 20:21:03 Andrzej Krzemienski wrote:
2014-04-25 17:15 GMT+02:00 Andrey Semashev
: I think, noexcept could be added to the existing macros rather safely using BOOST_NOEXCEPT_IF/BOOST_NOEXCEPT_EXPR. I could do it if no one objects.
Yes, make it noexcept if operator! is noexcept. That couldn't possibly hurt anyone.
Hmm, I forgot that the noexcept argument requires the enclosing class type. I cannot use 'this' to deduce the type, so it seems to be not possible to implement with the current interface. The good news is that the constexpr version is implicitly noexcept already.
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost