// Copyright Peter Dimov 2015 // Use, modification and distribution are subject to the // Boost Software License, Version 1.0. (See accompanying file // LICENSE_1_0.txt or copy at http://www.tt.org/LICENSE_1_0.txt) #ifdef TEST_STD # include #else # include #endif #include "test.hpp" #include "check_type.hpp" #include TT_TEST_BEGIN(copy_cv) { BOOST_CHECK_TYPE3(tt::copy_cv::type, int); BOOST_CHECK_TYPE3(tt::copy_cv::type, int const); BOOST_CHECK_TYPE3(tt::copy_cv::type, int volatile); BOOST_CHECK_TYPE3(tt::copy_cv::type, int const volatile); BOOST_CHECK_TYPE3(tt::copy_cv::type, int const); BOOST_CHECK_TYPE3(tt::copy_cv::type, int const); BOOST_CHECK_TYPE3(tt::copy_cv::type, int const volatile); BOOST_CHECK_TYPE3(tt::copy_cv::type, int const volatile); BOOST_CHECK_TYPE3(tt::copy_cv::type, int volatile); BOOST_CHECK_TYPE3(tt::copy_cv::type, int const volatile); BOOST_CHECK_TYPE3(tt::copy_cv::type, int volatile); BOOST_CHECK_TYPE3(tt::copy_cv::type, int const volatile); BOOST_CHECK_TYPE3(tt::copy_cv::type, int const volatile); BOOST_CHECK_TYPE3(tt::copy_cv::type, int const volatile); BOOST_CHECK_TYPE3(tt::copy_cv::type, int const volatile); BOOST_CHECK_TYPE3(tt::copy_cv::type, int const volatile); BOOST_CHECK_TYPE3(tt::copy_cv::type, int&); BOOST_CHECK_TYPE3(tt::copy_cv::type, int const* volatile); BOOST_CHECK_TYPE3(tt::copy_cv::type, long); } TT_TEST_END