is_const_interal -> is_const_integral

This commit is contained in:
Andrzej Krzemienski
2016-09-06 21:59:54 +02:00
parent f9324a8790
commit 99efe72052

View File

@ -68,7 +68,7 @@ void prevent_assignment_from_false_const_integral()
#ifdef BOOST_OPTIONAL_CONFIG_NO_PROPER_ASSIGN_FROM_CONST_INT
// MSVC compiler without rvalue refernces: we need to disable the asignment from
// const integral lvalue reference, as it may be an invalid temporary
BOOST_STATIC_ASSERT_MSG(!is_const_interal<From>::value,
BOOST_STATIC_ASSERT_MSG(!is_const_integral<From>::value,
"binding const lvalue references to integral types is disabled in this compiler");
#endif
#endif