
18 Feb
2012
18 Feb
'12
3:04 a.m.
Daryle Walker wrote:
I did it in (https://svn.boost.org/trac/boost/changeset/77046), so check if it works for you now.
Both r77046 and the version with SFINEAE to noexcept work well with clang-3.0 and gcc-4.6.
Of course, if you or someone else here has a better construction, let me know and I'll try it instead. (It still has to work for me on GCC-4.6, though.)
Can NothrowConstructible be simply determined by BOOST_NOEXCEPT_EXPR(MemberType(static_cast<T&&>(x)...)) rather than BOOST_NOEXCEPT_EXPR(::new ((void*) 0) MemberType(static_cast<T&&>(x)...)) ? Regards, Michel