// Copyright 2017, 2025 Peter Dimov // Distributed under the Boost Software License, Version 1.0. // https://www.boost.org/LICENSE_1_0.txt #include #include #include template struct S; enum class E { one, two, three }; template using constant = std::integral_constant; int main() { using boost::mp11::mp_list; using boost::mp11::mp_from_sequence; BOOST_TEST_TRAIT_TRUE((std::is_same>, mp_list<>>)); BOOST_TEST_TRAIT_TRUE((std::is_same>, mp_list>>)); BOOST_TEST_TRAIT_TRUE((std::is_same>, mp_list, constant>>)); BOOST_TEST_TRAIT_TRUE((std::is_same>, mp_list, constant, constant>>)); return boost::report_errors(); }