X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=ceph%2Fsrc%2Fboost%2Flibs%2Fmp11%2Ftest%2Fmp_same.cpp;h=d23e6b79bc0d97eb318e89d7e344147b28c52d05;hb=92f5a8d42d07f9929ae4fa7e01342fe8d96808a8;hp=5b642ae95da8ba862615744b5ec5bf5bdd18c19c;hpb=a0324939f9d0e1905d5df8f57442f09dc70af83d;p=ceph.git diff --git a/ceph/src/boost/libs/mp11/test/mp_same.cpp b/ceph/src/boost/libs/mp11/test/mp_same.cpp index 5b642ae95..d23e6b79b 100644 --- a/ceph/src/boost/libs/mp11/test/mp_same.cpp +++ b/ceph/src/boost/libs/mp11/test/mp_same.cpp @@ -6,8 +6,15 @@ // See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt +#include + +#if BOOST_MP11_MSVC +# pragma warning( disable: 4503 ) // decorated name length exceeded +#endif #include +#include +#include #include #include @@ -29,5 +36,16 @@ int main() BOOST_TEST_TRAIT_TRUE((std::is_same, mp_false>)); BOOST_TEST_TRAIT_TRUE((std::is_same, mp_false>)); + using boost::mp11::mp_repeat_c; + using boost::mp11::mp_list; + using boost::mp11::mp_apply; + + int const N = 1024; + + using L = mp_repeat_c, N>; + using R = mp_apply; + + BOOST_TEST_TRAIT_TRUE((std::is_same)); + return boost::report_errors(); }