mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Postfixed add_const and remove_const by _on_value_type to express the differences to the STL.
This commit is contained in:
@@ -43,11 +43,11 @@ void test_meta()
|
||||
VERIFY(( internal::is_same<float,internal::remove_all<float* const *&>::type >::value));
|
||||
VERIFY(( internal::is_same<float,internal::remove_all<float* const>::type >::value));
|
||||
|
||||
VERIFY(( internal::is_same<float*,internal::remove_const<const float*>::type >::value));
|
||||
VERIFY(( internal::is_same<float&,internal::remove_const<const float&>::type >::value));
|
||||
VERIFY(( internal::is_same<float&,internal::remove_const<ConstFloatRef>::type >::value));
|
||||
VERIFY(( internal::is_same<float*,internal::remove_const_on_value_type<const float*>::type >::value));
|
||||
VERIFY(( internal::is_same<float&,internal::remove_const_on_value_type<const float&>::type >::value));
|
||||
VERIFY(( internal::is_same<float&,internal::remove_const_on_value_type<ConstFloatRef>::type >::value));
|
||||
|
||||
VERIFY(( internal::is_same<float&,internal::remove_const<float&>::type >::value));
|
||||
VERIFY(( internal::is_same<float&,internal::remove_const_on_value_type<float&>::type >::value));
|
||||
VERIFY(( internal::is_same<float,internal::remove_reference<float&>::type >::value));
|
||||
VERIFY(( internal::is_same<const float,internal::remove_reference<const float&>::type >::value));
|
||||
VERIFY(( internal::is_same<float,internal::remove_pointer<float*>::type >::value));
|
||||
|
||||
Reference in New Issue
Block a user