mirror of
https://github.com/boostorg/optional.git
synced 2025-07-29 03:57:20 +02:00
is_const_interal -> is_const_integral
This commit is contained in:
@ -68,7 +68,7 @@ void prevent_assignment_from_false_const_integral()
|
|||||||
#ifdef BOOST_OPTIONAL_CONFIG_NO_PROPER_ASSIGN_FROM_CONST_INT
|
#ifdef BOOST_OPTIONAL_CONFIG_NO_PROPER_ASSIGN_FROM_CONST_INT
|
||||||
// MSVC compiler without rvalue refernces: we need to disable the asignment from
|
// MSVC compiler without rvalue refernces: we need to disable the asignment from
|
||||||
// const integral lvalue reference, as it may be an invalid temporary
|
// 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");
|
"binding const lvalue references to integral types is disabled in this compiler");
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user