// Copyright 2017, 2019 Peter Dimov. // // Distributed under the Boost Software License, Version 1.0. // // See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt #include #include #include #include #include int main() { namespace mpl = boost::mpl; using namespace boost::mp11; using L1 = mp_list; BOOST_TEST_TRAIT_TRUE((std::is_same>::type, mp_at_c>)); BOOST_TEST_TRAIT_TRUE((std::is_same>::type, mp_at_c>)); BOOST_TEST_TRAIT_TRUE((std::is_same>::type, mp_at_c>)); BOOST_TEST_TRAIT_TRUE((std::is_same::type, mp_at_c>)); BOOST_TEST_TRAIT_TRUE((std::is_same::type, mp_at_c>)); BOOST_TEST_TRAIT_TRUE((std::is_same::type, mp_at_c>)); BOOST_TEST_EQ((mpl::size::type::value), mp_size::value); return boost::report_errors(); }