mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Renamed cleantype to remove_all since it is close to remove_{const|pointer|reference}.
This commit is contained in:
@@ -35,13 +35,13 @@ void test_meta()
|
||||
VERIFY((!internal::is_same<float,float&>::value));
|
||||
VERIFY((!internal::is_same<float,const float&>::value));
|
||||
|
||||
VERIFY(( internal::is_same<float,internal::cleantype<const float&>::type >::value));
|
||||
VERIFY(( internal::is_same<float,internal::cleantype<const float*>::type >::value));
|
||||
VERIFY(( internal::is_same<float,internal::cleantype<const float*&>::type >::value));
|
||||
VERIFY(( internal::is_same<float,internal::cleantype<float**>::type >::value));
|
||||
VERIFY(( internal::is_same<float,internal::cleantype<float**&>::type >::value));
|
||||
VERIFY(( internal::is_same<float,internal::cleantype<float* const *&>::type >::value));
|
||||
VERIFY(( internal::is_same<float,internal::cleantype<float* const>::type >::value));
|
||||
VERIFY(( internal::is_same<float,internal::remove_all<const float&>::type >::value));
|
||||
VERIFY(( internal::is_same<float,internal::remove_all<const float*>::type >::value));
|
||||
VERIFY(( internal::is_same<float,internal::remove_all<const float*&>::type >::value));
|
||||
VERIFY(( internal::is_same<float,internal::remove_all<float**>::type >::value));
|
||||
VERIFY(( internal::is_same<float,internal::remove_all<float**&>::type >::value));
|
||||
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));
|
||||
|
||||
Reference in New Issue
Block a user