• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 
2 #include <boost/callable_traits.hpp>
3 #include "test.hpp"
4 
5 struct foo;
6 
7 #define CALLABLE_TRAIT_UNDER_TEST add_member_const
8 #include "qualifier_metafunction_constraints.hpp"
9 #undef CALLABLE_TRAIT_UNDER_TEST
10 
11 #define CALLABLE_TRAIT_UNDER_TEST remove_member_const
12 #include "qualifier_metafunction_constraints.hpp"
13 #undef CALLABLE_TRAIT_UNDER_TEST
14 
15 #define CALLABLE_TRAIT_UNDER_TEST add_member_volatile
16 #include "qualifier_metafunction_constraints.hpp"
17 #undef CALLABLE_TRAIT_UNDER_TEST
18 
19 #define CALLABLE_TRAIT_UNDER_TEST remove_member_volatile
20 #include "qualifier_metafunction_constraints.hpp"
21 #undef CALLABLE_TRAIT_UNDER_TEST
22 
23 #define CALLABLE_TRAIT_UNDER_TEST add_member_cv
24 #include "qualifier_metafunction_constraints.hpp"
25 #undef CALLABLE_TRAIT_UNDER_TEST
26 
27 #define CALLABLE_TRAIT_UNDER_TEST remove_member_cv
28 #include "qualifier_metafunction_constraints.hpp"
29 #undef CALLABLE_TRAIT_UNDER_TEST
30 
31 #ifndef BOOST_CLBL_TRTS_DISABLE_REFERENCE_QUALIFIERS
32 
33 #define CALLABLE_TRAIT_UNDER_TEST add_member_lvalue_reference
34 #include "qualifier_metafunction_constraints.hpp"
35 #undef CALLABLE_TRAIT_UNDER_TEST
36 
37 #define CALLABLE_TRAIT_UNDER_TEST add_member_rvalue_reference
38 #include "qualifier_metafunction_constraints.hpp"
39 #undef CALLABLE_TRAIT_UNDER_TEST
40 
41 #define CALLABLE_TRAIT_UNDER_TEST remove_member_reference
42 #include "qualifier_metafunction_constraints.hpp"
43 #undef CALLABLE_TRAIT_UNDER_TEST
44 
45 #endif // #ifndef BOOST_CLBL_TRTS_DISABLE_REFERENCE_QUALIFIERS
46 
main()47 int main(){}
48 
49