2 Dec
2014
2 Dec
'14
1:08 p.m.
#include
#include struct NothrowCtor { NothrowCtor(NothrowCtor&&) BOOST_NOEXCEPT_IF(true) {}; void operator=(NothrowCtor&&) BOOST_NOEXCEPT_IF(false) {}; };
BOOST_STATIC_ASSERT(!::boost::is_nothrow_move_assignable<NothrowCtor>::value);
int main() {}
Update: in the absence of SFINAE expression support, a number of type_traits are terminally broken, and this is one I'm afraid. John.