aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/meta.cpp
diff options
context:
space:
mode:
authorGravatar Hauke Heibel <hauke.heibel@gmail.com>2010-11-26 16:30:45 +0100
committerGravatar Hauke Heibel <hauke.heibel@gmail.com>2010-11-26 16:30:45 +0100
commitbf9d25ce5802cbf64c36ac646521a4b24e6a5118 (patch)
treeac9bc6e2f35708bf0a83714b86f7f7707d32107f /test/meta.cpp
parent139392488d16226eee03894b5dabf32f5f96de33 (diff)
Postfixed add_const and remove_const by _on_value_type to express the differences to the STL.
Diffstat (limited to 'test/meta.cpp')
-rw-r--r--test/meta.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/meta.cpp b/test/meta.cpp
index 9adb95034..2c3c2985a 100644
--- a/test/meta.cpp
+++ b/test/meta.cpp
@@ -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));