// Copyright 2015-2017 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 template using integral = std::integral_constant; int main() { using boost::mp11::mp_plus; BOOST_TEST_TRAIT_TRUE((std::is_same, integral>)); BOOST_TEST_TRAIT_TRUE((std::is_same>, integral>)); BOOST_TEST_TRAIT_TRUE((std::is_same>, integral>)); BOOST_TEST_TRAIT_TRUE((std::is_same>, integral>)); BOOST_TEST_TRAIT_TRUE((std::is_same>, integral>)); BOOST_TEST_TRAIT_TRUE((std::is_same, integral>, integral>)); BOOST_TEST_TRAIT_TRUE((std::is_same, integral, integral>, integral>)); BOOST_TEST_TRAIT_TRUE((std::is_same, integral, integral, integral>, integral>)); return boost::report_errors(); }