• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 
2 // Copyright 2019 Peter Dimov.
3 //
4 // Distributed under the Boost Software License, Version 1.0.
5 //
6 // See accompanying file LICENSE_1_0.txt or copy at
7 // http://www.boost.org/LICENSE_1_0.txt
8 
9 
10 #include <boost/mp11/set.hpp>
11 #include <boost/mp11/utility.hpp>
12 #include <boost/core/lightweight_test_trait.hpp>
13 
main()14 int main()
15 {
16     using boost::mp11::mp_set_difference;
17     using boost::mp11::mp_valid;
18     using boost::mp11::mp_list;
19 
20     BOOST_TEST_TRAIT_FALSE((mp_valid<mp_set_difference>));
21     BOOST_TEST_TRAIT_FALSE((mp_valid<mp_set_difference, void>));
22     BOOST_TEST_TRAIT_FALSE((mp_valid<mp_set_difference, void, void>));
23     BOOST_TEST_TRAIT_FALSE((mp_valid<mp_set_difference, void, void, void>));
24     BOOST_TEST_TRAIT_FALSE((mp_valid<mp_set_difference, void, void, void, void>));
25     BOOST_TEST_TRAIT_FALSE((mp_valid<mp_set_difference, void, void, void, void, void>));
26 
27     BOOST_TEST_TRAIT_FALSE((mp_valid<mp_set_difference, mp_list<>, void>));
28     BOOST_TEST_TRAIT_FALSE((mp_valid<mp_set_difference, mp_list<>, mp_list<>, void>));
29     BOOST_TEST_TRAIT_FALSE((mp_valid<mp_set_difference, mp_list<>, mp_list<>, mp_list<>, void>));
30     BOOST_TEST_TRAIT_FALSE((mp_valid<mp_set_difference, mp_list<>, mp_list<>, mp_list<>, mp_list<>, void>));
31 
32     return boost::report_errors();
33 }
34