// Copyright 2015, 2017, 2023 Peter Dimov // Distributed under the Boost Software License, Version 1.0. // https://www.boost.org/LICENSE_1_0.txt #include #include #include #include #include using boost::mp11::mp_apply_q; using boost::mp11::mp_list; using boost::mp11::mp_quote; using boost::mp11::mp_quote_trait; using boost::mp11::mp_valid; using boost::mp11::mp_identity; using boost::mp11::mp_identity_t; int main() { BOOST_TEST_TRAIT_FALSE((mp_valid)); BOOST_TEST_TRAIT_FALSE((mp_valid)); #if !BOOST_MP11_WORKAROUND( BOOST_MP11_MSVC, < 1920 ) BOOST_TEST_TRAIT_FALSE((mp_valid)); BOOST_TEST_TRAIT_FALSE((mp_valid>)); BOOST_TEST_TRAIT_FALSE((mp_valid>)); BOOST_TEST_TRAIT_FALSE((mp_valid>)); #endif using Qi = mp_quote; BOOST_TEST_TRAIT_FALSE((mp_valid>)); BOOST_TEST_TRAIT_TRUE((mp_valid>)); BOOST_TEST_TRAIT_FALSE((mp_valid>)); using Qt = mp_quote_trait; #if !BOOST_MP11_WORKAROUND( BOOST_MP11_MSVC, < 1900 ) BOOST_TEST_TRAIT_FALSE((mp_valid>)); #endif BOOST_TEST_TRAIT_TRUE((mp_valid>)); BOOST_TEST_TRAIT_FALSE((mp_valid>)); return boost::report_errors(); }