Marcel Raad c845f41f2d Compile fix for MSVC14
MSVC14 supports noexcept, but doesn't support expression SFINAE, so false_or_cpp11_noexcept_move_assignable<const T> fails to compile with
error C3892: 'boost::declval': you cannot assign to a variable that is const

Disabling the overload for const types so that they are never reported as noexcept move assignable fixes the compile error. Of course this doesn't work for imaginary UDTs with an assignment operator that is marked both noexcept and const - the alternative would be to guard the block with BOOST_NO_SFINAE_EXPR in addition to BOOST_NO_CXX11_NOEXCEPT.
2014-09-24 14:32:04 +02:00
2014-09-24 14:32:04 +02:00
2014-08-18 15:11:59 +01:00
2014-09-22 18:09:12 +01:00
2003-10-07 10:51:54 +00:00
2007-09-10 09:19:49 +00:00
S
Description
Boost.org type_traits module
5.3 MiB
Languages
C++ 99.9%