diff --git a/test/pointer_traits_rebind_test.cpp b/test/pointer_traits_rebind_test.cpp index 999d195..a009463 100644 --- a/test/pointer_traits_rebind_test.cpp +++ b/test/pointer_traits_rebind_test.cpp @@ -1,5 +1,5 @@ /* -Copyright 2017 Glen Joseph Fernandes +Copyright 2017-2022 Glen Joseph Fernandes (glenjofe@gmail.com) Distributed under the Boost Software License, Version 1.0. @@ -84,15 +84,49 @@ int main() BOOST_TEST_TRAIT_TRUE((boost::core::is_same, boost::pointer_traits >::rebind_to::type>)); #if !defined(BOOST_NO_CXX11_TEMPLATE_ALIASES) + BOOST_TEST_TRAIT_TRUE((boost::core::is_same::rebind >)); + BOOST_TEST_TRAIT_TRUE((boost::core::is_same, + boost::pointer_traits >::rebind >)); + BOOST_TEST_TRAIT_TRUE((boost::core::is_same, + boost::pointer_traits >::rebind >)); + BOOST_TEST_TRAIT_TRUE((boost::core::is_same, + boost::pointer_traits >::rebind >)); + BOOST_TEST_TRAIT_TRUE((boost::core::is_same::rebind >)); + BOOST_TEST_TRAIT_TRUE((boost::core::is_same, + boost::pointer_traits >::rebind >)); + BOOST_TEST_TRAIT_TRUE((boost::core::is_same::rebind >)); + BOOST_TEST_TRAIT_TRUE((boost::core::is_same, + boost::pointer_traits >::rebind >)); + BOOST_TEST_TRAIT_TRUE((boost::core::is_same::rebind >)); + BOOST_TEST_TRAIT_TRUE((boost::core::is_same, + boost::pointer_traits >::rebind >)); + BOOST_TEST_TRAIT_TRUE((boost::core::is_same::rebind >)); + BOOST_TEST_TRAIT_TRUE((boost::core::is_same, + boost::pointer_traits >::rebind >)); BOOST_TEST_TRAIT_TRUE((boost::core::is_same, boost::pointer_traits >::rebind_to::type>)); BOOST_TEST_TRAIT_TRUE((boost::core::is_same, boost::pointer_traits >::rebind_to::type>)); BOOST_TEST_TRAIT_TRUE((boost::core::is_same, boost::pointer_traits >::rebind_to::type>)); + BOOST_TEST_TRAIT_TRUE((boost::core::is_same, + boost::pointer_traits >::rebind >)); + BOOST_TEST_TRAIT_TRUE((boost::core::is_same, + boost::pointer_traits >::rebind >)); + BOOST_TEST_TRAIT_TRUE((boost::core::is_same, + boost::pointer_traits >::rebind >)); #if !defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES) + BOOST_TEST_TRAIT_TRUE((boost::core::is_same, + boost::pointer_traits >::rebind >)); BOOST_TEST_TRAIT_TRUE((boost::core::is_same, boost::pointer_traits >::rebind_to::type>)); + BOOST_TEST_TRAIT_TRUE((boost::core::is_same, + boost::pointer_traits >::rebind >)); #endif BOOST_TEST_TRAIT_TRUE((boost::core::is_same, boost::pointer_traits >::rebind_to::type>)); @@ -102,6 +136,14 @@ int main() boost::pointer_traits >::rebind_to::type>)); BOOST_TEST_TRAIT_TRUE((boost::core::is_same, boost::pointer_traits >::rebind_to::type>)); + BOOST_TEST_TRAIT_TRUE((boost::core::is_same, + boost::pointer_traits >::rebind >)); + BOOST_TEST_TRAIT_TRUE((boost::core::is_same, + boost::pointer_traits >::rebind >)); + BOOST_TEST_TRAIT_TRUE((boost::core::is_same, + boost::pointer_traits >::rebind >)); + BOOST_TEST_TRAIT_TRUE((boost::core::is_same, + boost::pointer_traits >::rebind >)); #endif return boost::report_errors(); }