Postfixed add_const and remove_const by _on_value_type to express the differences to the STL.

This commit is contained in:
Hauke Heibel
2010-11-26 16:30:45 +01:00
parent 139392488d
commit bf9d25ce58
6 changed files with 22 additions and 22 deletions

View File

@@ -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));