forked from boostorg/mp11
Remove mp_defer_if_valid; add mp_identity_t.
This commit is contained in:
1 parent
bd9e5f9c41
commit
e51ed6cf3d
5 files changed
+39
-35
No files matched your search
@@ -22,5 +22,12 @@ int main()
|
||||
BOOST_TEST_TRAIT_TRUE((std::is_same<mp_identity<int const[]>::type, int const[]>));
|
||||
BOOST_TEST_TRAIT_TRUE((std::is_same<mp_identity<X>::type, X>));
|
||||
|
||||
using boost::mp_identity_t;
|
||||
|
||||
BOOST_TEST_TRAIT_TRUE((std::is_same<mp_identity_t<void const volatile>, void const volatile>));
|
||||
BOOST_TEST_TRAIT_TRUE((std::is_same<mp_identity_t<void()>, void()>));
|
||||
BOOST_TEST_TRAIT_TRUE((std::is_same<mp_identity_t<int const[]>, int const[]>));
|
||||
BOOST_TEST_TRAIT_TRUE((std::is_same<mp_identity_t<X>, X>));
|
||||
|
||||
return boost::report_errors();
|
||||
}
|
||||
Reference in new issue
Block a user