/third_party/boost/libs/callable_traits/test/ |
D | add_member_lvalue_reference.cpp | 35 CT_ASSERT(std::is_same<l, TRAIT(add_member_lvalue_reference, f)>{}); in main() 36 CT_ASSERT(std::is_same<cl, TRAIT(add_member_lvalue_reference, c)>{}); in main() 37 CT_ASSERT(std::is_same<vl, TRAIT(add_member_lvalue_reference, v)>{}); in main() 38 CT_ASSERT(std::is_same<vl, TRAIT(add_member_lvalue_reference, v)>{}); in main() 39 CT_ASSERT(std::is_same<cvl, TRAIT(add_member_lvalue_reference, cv)>{}); in main() 40 CT_ASSERT(std::is_same<l, TRAIT(add_member_lvalue_reference, l)>{}); in main() 41 CT_ASSERT(std::is_same<cl, TRAIT(add_member_lvalue_reference, cl)>{}); in main() 42 CT_ASSERT(std::is_same<vl, TRAIT(add_member_lvalue_reference, vl)>{}); in main() 43 CT_ASSERT(std::is_same<cvl, TRAIT(add_member_lvalue_reference, cvl)>{}); in main() 44 CT_ASSERT(!std::is_same<r, TRAIT(add_member_lvalue_reference, r)>{}); in main() [all …]
|
D | add_member_rvalue_reference.cpp | 35 CT_ASSERT(std::is_same<r, TRAIT(add_member_rvalue_reference, f)>{}); in main() 36 CT_ASSERT(std::is_same<cr, TRAIT(add_member_rvalue_reference, c)>{}); in main() 37 CT_ASSERT(std::is_same<vr, TRAIT(add_member_rvalue_reference, v)>{}); in main() 38 CT_ASSERT(std::is_same<cvr, TRAIT(add_member_rvalue_reference, cv)>{}); in main() 39 CT_ASSERT(std::is_same<l, TRAIT(add_member_rvalue_reference, l)>{}); in main() 40 CT_ASSERT(std::is_same<cl, TRAIT(add_member_rvalue_reference, cl)>{}); in main() 41 CT_ASSERT(std::is_same<vl, TRAIT(add_member_rvalue_reference, vl)>{}); in main() 42 CT_ASSERT(std::is_same<cvl, TRAIT(add_member_rvalue_reference, cvl)>{}); in main() 43 CT_ASSERT(std::is_same<r, TRAIT(add_member_rvalue_reference, r)>{}); in main() 44 CT_ASSERT(!std::is_same<r, TRAIT(add_member_rvalue_reference, l)>{}); in main() [all …]
|
D | remove_varargs.cpp | 46 CT_ASSERT(std::is_same<f, TRAIT(remove_varargs, va_f)>{}); in main() 47 CT_ASSERT(std::is_same<l, TRAIT(remove_varargs, va_l)>{}); in main() 48 CT_ASSERT(std::is_same<r, TRAIT(remove_varargs, va_r)>{}); in main() 49 CT_ASSERT(std::is_same<c, TRAIT(remove_varargs, va_c)>{}); in main() 50 CT_ASSERT(std::is_same<cl, TRAIT(remove_varargs, va_cl)>{}); in main() 51 CT_ASSERT(std::is_same<cr, TRAIT(remove_varargs, va_cr)>{}); in main() 52 CT_ASSERT(std::is_same<v, TRAIT(remove_varargs, va_v)>{}); in main() 53 CT_ASSERT(std::is_same<vl, TRAIT(remove_varargs, va_vl)>{}); in main() 54 CT_ASSERT(std::is_same<vr, TRAIT(remove_varargs, va_vr)>{}); in main() 55 CT_ASSERT(std::is_same<cv, TRAIT(remove_varargs, va_cv)>{}); in main() [all …]
|
D | add_varargs.cpp | 44 CT_ASSERT(std::is_same<va_f, TRAIT(add_varargs, f)>{}); in main() 45 CT_ASSERT(std::is_same<va_l, TRAIT(add_varargs, l)>{}); in main() 46 CT_ASSERT(std::is_same<va_r, TRAIT(add_varargs, r)>{}); in main() 47 CT_ASSERT(std::is_same<va_c, TRAIT(add_varargs, c)>{}); in main() 48 CT_ASSERT(std::is_same<va_cl, TRAIT(add_varargs, cl)>{}); in main() 49 CT_ASSERT(std::is_same<va_cr, TRAIT(add_varargs, cr)>{}); in main() 50 CT_ASSERT(std::is_same<va_v, TRAIT(add_varargs, v)>{}); in main() 51 CT_ASSERT(std::is_same<va_vl, TRAIT(add_varargs, vl)>{}); in main() 52 CT_ASSERT(std::is_same<va_vr, TRAIT(add_varargs, vr)>{}); in main() 53 CT_ASSERT(std::is_same<va_cv, TRAIT(add_varargs, cv)>{}); in main() [all …]
|
D | add_member_cv.cpp | 31 CT_ASSERT(std::is_same<cv, TRAIT(add_member_cv, f)>{}); in main() 32 CT_ASSERT(std::is_same<cv, TRAIT(add_member_cv, c)>{}); in main() 33 CT_ASSERT(std::is_same<cvl, TRAIT(add_member_cv, l)>{}); in main() 34 CT_ASSERT(std::is_same<cvl, TRAIT(add_member_cv, cl)>{}); in main() 35 CT_ASSERT(std::is_same<cvr, TRAIT(add_member_cv, r)>{}); in main() 36 CT_ASSERT(std::is_same<cvr, TRAIT(add_member_cv, cr)>{}); in main() 37 CT_ASSERT(std::is_same<cv, TRAIT(add_member_cv, v)>{}); in main() 38 CT_ASSERT(std::is_same<cv, TRAIT(add_member_cv, cv)>{}); in main() 39 CT_ASSERT(std::is_same<cvl, TRAIT(add_member_cv, vl)>{}); in main() 40 CT_ASSERT(std::is_same<cvl, TRAIT(add_member_cv, cvl)>{}); in main() [all …]
|
D | add_member_const.cpp | 31 CT_ASSERT(std::is_same<c, TRAIT(add_member_const, f)>{}); in main() 32 CT_ASSERT(std::is_same<c, TRAIT(add_member_const, c)>{}); in main() 33 CT_ASSERT(std::is_same<cl, TRAIT(add_member_const, l)>{}); in main() 34 CT_ASSERT(std::is_same<cl, TRAIT(add_member_const, cl)>{}); in main() 35 CT_ASSERT(std::is_same<cr, TRAIT(add_member_const, r)>{}); in main() 36 CT_ASSERT(std::is_same<cr, TRAIT(add_member_const, cr)>{}); in main() 37 CT_ASSERT(std::is_same<cv, TRAIT(add_member_const, v)>{}); in main() 38 CT_ASSERT(std::is_same<cv, TRAIT(add_member_const, cv)>{}); in main() 39 CT_ASSERT(std::is_same<cvl, TRAIT(add_member_const, vl)>{}); in main() 40 CT_ASSERT(std::is_same<cvl, TRAIT(add_member_const, cvl)>{}); in main() [all …]
|
D | remove_member_const.cpp | 33 CT_ASSERT(std::is_same<f, TRAIT(remove_member_const, f)>{}); in main() 34 CT_ASSERT(std::is_same<f, TRAIT(remove_member_const, c)>{}); in main() 35 CT_ASSERT(std::is_same<l, TRAIT(remove_member_const, l)>{}); in main() 36 CT_ASSERT(std::is_same<l, TRAIT(remove_member_const, cl)>{}); in main() 37 CT_ASSERT(std::is_same<r, TRAIT(remove_member_const, r)>{}); in main() 38 CT_ASSERT(std::is_same<r, TRAIT(remove_member_const, cr)>{}); in main() 39 CT_ASSERT(std::is_same<v, TRAIT(remove_member_const, v)>{}); in main() 40 CT_ASSERT(std::is_same<v, TRAIT(remove_member_const, cv)>{}); in main() 41 CT_ASSERT(std::is_same<vl, TRAIT(remove_member_const, vl)>{}); in main() 42 CT_ASSERT(std::is_same<vl, TRAIT(remove_member_const, cvl)>{}); in main() [all …]
|
D | qualified_class_of_constraints.cpp | 33 CT_ASSERT(is_substitution_failure_qualified_class_of<decltype(lambda)>::value); in main() 34 CT_ASSERT(is_substitution_failure_qualified_class_of<decltype(lambda)&>::value); in main() 35 CT_ASSERT(is_substitution_failure_qualified_class_of<void>::value); in main() 36 CT_ASSERT(is_substitution_failure_qualified_class_of<void*>::value); in main() 37 CT_ASSERT(is_substitution_failure_qualified_class_of<int>::value); in main() 38 CT_ASSERT(is_substitution_failure_qualified_class_of<int &>::value); in main() 39 CT_ASSERT(is_substitution_failure_qualified_class_of<int()>::value); in main() 40 CT_ASSERT(is_substitution_failure_qualified_class_of<int(*)()>::value); in main() 41 CT_ASSERT(is_substitution_failure_qualified_class_of<int(**)()>::value); in main() 42 CT_ASSERT(is_substitution_failure_qualified_class_of<int(&)()>::value); in main() [all …]
|
D | remove_member_reference.cpp | 35 CT_ASSERT(std::is_same<f, TRAIT(remove_member_reference, f)>{}); in main() 36 CT_ASSERT(std::is_same<c, TRAIT(remove_member_reference, c)>{}); in main() 37 CT_ASSERT(std::is_same<v, TRAIT(remove_member_reference, v)>{}); in main() 38 CT_ASSERT(std::is_same<cv, TRAIT(remove_member_reference, cv)>{}); in main() 39 CT_ASSERT(std::is_same<f, TRAIT(remove_member_reference, l)>{}); in main() 40 CT_ASSERT(std::is_same<c, TRAIT(remove_member_reference, cl)>{}); in main() 41 CT_ASSERT(std::is_same<v, TRAIT(remove_member_reference, vl)>{}); in main() 42 CT_ASSERT(std::is_same<cv, TRAIT(remove_member_reference, cvl)>{}); in main() 43 CT_ASSERT(std::is_same<f, TRAIT(remove_member_reference, r)>{}); in main() 44 CT_ASSERT(std::is_same<c, TRAIT(remove_member_reference, cr)>{}); in main() [all …]
|
D | remove_member_volatile.cpp | 31 CT_ASSERT(std::is_same<f, TRAIT(remove_member_volatile, f)>{}); in main() 32 CT_ASSERT(std::is_same<l, TRAIT(remove_member_volatile, vl)>{}); in main() 33 CT_ASSERT(std::is_same<l, TRAIT(remove_member_volatile, l)>{}); in main() 34 CT_ASSERT(std::is_same<f, TRAIT(remove_member_volatile, v)>{}); in main() 35 CT_ASSERT(std::is_same<r, TRAIT(remove_member_volatile, r)>{}); in main() 36 CT_ASSERT(std::is_same<r, TRAIT(remove_member_volatile, vr)>{}); in main() 37 CT_ASSERT(std::is_same<c, TRAIT(remove_member_volatile, c)>{}); in main() 38 CT_ASSERT(std::is_same<c, TRAIT(remove_member_volatile, cv)>{}); in main() 39 CT_ASSERT(std::is_same<cl, TRAIT(remove_member_volatile, cl)>{}); in main() 40 CT_ASSERT(std::is_same<cl, TRAIT(remove_member_volatile, cvl)>{}); in main() [all …]
|
D | add_member_volatile.cpp | 31 CT_ASSERT(std::is_same<v, TRAIT(add_member_volatile, f)>{}); in main() 32 CT_ASSERT(std::is_same<v, TRAIT(add_member_volatile, v)>{}); in main() 33 CT_ASSERT(std::is_same<vl, TRAIT(add_member_volatile, l)>{}); in main() 34 CT_ASSERT(std::is_same<vl, TRAIT(add_member_volatile, vl)>{}); in main() 35 CT_ASSERT(std::is_same<vr, TRAIT(add_member_volatile, r)>{}); in main() 36 CT_ASSERT(std::is_same<vr, TRAIT(add_member_volatile, vr)>{}); in main() 37 CT_ASSERT(std::is_same<cv, TRAIT(add_member_volatile, c)>{}); in main() 38 CT_ASSERT(std::is_same<cv, TRAIT(add_member_volatile, cv)>{}); in main() 39 CT_ASSERT(std::is_same<cvl, TRAIT(add_member_volatile, cl)>{}); in main() 40 CT_ASSERT(std::is_same<cvl, TRAIT(add_member_volatile, cvl)>{}); in main() [all …]
|
D | function_type.cpp | 13 CT_ASSERT(std::is_same<TRAIT(function_type, G), F>::value); in main() 14 CT_ASSERT(std::is_same<function_type_t<G const &>, F>::value); in main() 15 CT_ASSERT(std::is_same<function_type_t<G const &&>, F>::value); in main() 16 CT_ASSERT(std::is_same<function_type_t<G volatile &>, F>::value); in main() 17 CT_ASSERT(std::is_same<function_type_t<G &>, F>::value); in main() 18 CT_ASSERT(std::is_same<function_type_t<G &&>, F>::value); in main() 19 CT_ASSERT(std::is_same<function_type_t< in main() 27 CT_ASSERT(std::is_same<TRAIT(function_type, G), F>::value); in main() 34 CT_ASSERT(std::is_same<TRAIT(function_type, G), F>::value); in main() 38 CT_ASSERT(std::is_same<TRAIT(function_type, G), F>::value); in main() [all …]
|
D | has_varargs.cpp | 18 CT_ASSERT( has_varargs<T>::value); in assert_has_varargs() 24 CT_ASSERT(! has_varargs<T>::value); in assert_not_has_varargs() 166 CT_ASSERT(! has_varargs<f>()); in main() 167 CT_ASSERT(! has_varargs<l>()); in main() 168 CT_ASSERT(! has_varargs<r>()); in main() 169 CT_ASSERT(! has_varargs<c>()); in main() 170 CT_ASSERT(! has_varargs<cl>()); in main() 171 CT_ASSERT(! has_varargs<cr>()); in main() 172 CT_ASSERT(! has_varargs<v>()); in main() 173 CT_ASSERT(! has_varargs<vl>()); in main() [all …]
|
D | args_constraints.cpp | 30 CT_ASSERT(is_substitution_failure_args<int>::value); in main() 31 CT_ASSERT(is_substitution_failure_args<int &>::value); in main() 32 CT_ASSERT(is_substitution_failure_args<int (** const &)()>::value); in main() 33 CT_ASSERT(is_substitution_failure_args<int (foo::** &)()>::value); in main() 34 CT_ASSERT(is_substitution_failure_args<int (foo::** const)()>::value); in main() 35 CT_ASSERT(is_substitution_failure_args<int (foo::** const &)()>::value); in main() 36 CT_ASSERT(is_substitution_failure_args<int (foo::** volatile)()>::value); in main() 37 CT_ASSERT(!is_substitution_failure_args<int (* const &)()>::value); in main() 38 CT_ASSERT(!is_substitution_failure_args<int (foo::* &)()>::value); in main() 39 CT_ASSERT(!is_substitution_failure_args<int (foo::* const)()>::value); in main() [all …]
|
D | remove_transaction_safe_constraints.cpp | 37 CT_ASSERT(is_substitution_failure_remove_tx_safe<decltype(lambda)>::value); in main() 38 CT_ASSERT(is_substitution_failure_remove_tx_safe<decltype(lambda)&>::value); in main() 39 CT_ASSERT(is_substitution_failure_remove_tx_safe<int>::value); in main() 40 CT_ASSERT(is_substitution_failure_remove_tx_safe<int &>::value); in main() 41 CT_ASSERT(is_substitution_failure_remove_tx_safe<int (* const &)()>::value); in main() 42 CT_ASSERT(is_substitution_failure_remove_tx_safe<int (foo::* &)()>::value); in main() 43 CT_ASSERT(is_substitution_failure_remove_tx_safe<int (foo::* const)()>::value); in main() 44 CT_ASSERT(is_substitution_failure_remove_tx_safe<int (foo::* const &)()>::value); in main() 45 CT_ASSERT(is_substitution_failure_remove_tx_safe<int (foo::* volatile)()>::value); in main() 46 CT_ASSERT(is_substitution_failure_remove_tx_safe<void>::value); in main() [all …]
|
D | add_noexcept_constraints.cpp | 37 CT_ASSERT(is_substitution_failure_add_noexcept<decltype(lambda)>::value); in main() 38 CT_ASSERT(is_substitution_failure_add_noexcept<decltype(lambda)&>::value); in main() 39 CT_ASSERT(is_substitution_failure_add_noexcept<int>::value); in main() 40 CT_ASSERT(is_substitution_failure_add_noexcept<int &>::value); in main() 41 CT_ASSERT(is_substitution_failure_add_noexcept<int (* const &)()>::value); in main() 42 CT_ASSERT(is_substitution_failure_add_noexcept<int (foo::* &)()>::value); in main() 43 CT_ASSERT(is_substitution_failure_add_noexcept<int (foo::* const)()>::value); in main() 44 CT_ASSERT(is_substitution_failure_add_noexcept<int (foo::* const &)()>::value); in main() 45 CT_ASSERT(is_substitution_failure_add_noexcept<int (foo::* volatile)()>::value); in main() 46 CT_ASSERT(is_substitution_failure_add_noexcept<void>::value); in main() [all …]
|
D | function_type_constraints.cpp | 31 CT_ASSERT(is_substitution_failure_function_type<int>::value); in main() 32 CT_ASSERT(is_substitution_failure_function_type<int &>::value); in main() 33 CT_ASSERT(is_substitution_failure_function_type<int (foo::** &)()>::value); in main() 34 CT_ASSERT(is_substitution_failure_function_type<int (foo::** const)()>::value); in main() 35 CT_ASSERT(is_substitution_failure_function_type<int (foo::** const &)()>::value); in main() 36 CT_ASSERT(is_substitution_failure_function_type<int (foo::** volatile)()>::value); in main() 37 CT_ASSERT(!is_substitution_failure_function_type<int (foo::* &)()>::value); in main() 38 CT_ASSERT(!is_substitution_failure_function_type<int (foo::* const)()>::value); in main() 39 CT_ASSERT(!is_substitution_failure_function_type<int (foo::* const &)()>::value); in main() 40 CT_ASSERT(!is_substitution_failure_function_type<int (foo::* volatile)()>::value); in main() [all …]
|
D | add_transaction_safe_constraints.cpp | 37 CT_ASSERT(is_substitution_failure_add_tx_safe<decltype(lambda)>::value); in main() 38 CT_ASSERT(is_substitution_failure_add_tx_safe<decltype(lambda)&>::value); in main() 39 CT_ASSERT(is_substitution_failure_add_tx_safe<int>::value); in main() 40 CT_ASSERT(is_substitution_failure_add_tx_safe<int &>::value); in main() 41 CT_ASSERT(is_substitution_failure_add_tx_safe<int (* const &)()>::value); in main() 42 CT_ASSERT(is_substitution_failure_add_tx_safe<int (foo::* &)()>::value); in main() 43 CT_ASSERT(is_substitution_failure_add_tx_safe<int (foo::* const)()>::value); in main() 44 CT_ASSERT(is_substitution_failure_add_tx_safe<int (foo::* const &)()>::value); in main() 45 CT_ASSERT(is_substitution_failure_add_tx_safe<int (foo::* volatile)()>::value); in main() 46 CT_ASSERT(is_substitution_failure_add_tx_safe<void>::value); in main() [all …]
|
D | remove_noexcept_constraints.cpp | 37 CT_ASSERT(is_substitution_failure_remove_noexcept<decltype(lambda)>::value); in main() 38 CT_ASSERT(is_substitution_failure_remove_noexcept<decltype(lambda)&>::value); in main() 39 CT_ASSERT(is_substitution_failure_remove_noexcept<int>::value); in main() 40 CT_ASSERT(is_substitution_failure_remove_noexcept<int &>::value); in main() 41 CT_ASSERT(is_substitution_failure_remove_noexcept<int (* const &)()>::value); in main() 42 CT_ASSERT(is_substitution_failure_remove_noexcept<int (foo::* &)()>::value); in main() 43 CT_ASSERT(is_substitution_failure_remove_noexcept<int (foo::* const)()>::value); in main() 44 CT_ASSERT(is_substitution_failure_remove_noexcept<int (foo::* const &)()>::value); in main() 45 CT_ASSERT(is_substitution_failure_remove_noexcept<int (foo::* volatile)()>::value); in main() 46 CT_ASSERT(is_substitution_failure_remove_noexcept<void>::value); in main() [all …]
|
D | remove_varargs_constraints.hpp | 33 CT_ASSERT(is_substitution_failure_remove_varargs<decltype(lambda)>::value); in main() 34 CT_ASSERT(is_substitution_failure_remove_varargs<decltype(lambda)&>::value); in main() 35 CT_ASSERT(is_substitution_failure_remove_varargs<int>::value); in main() 36 CT_ASSERT(is_substitution_failure_remove_varargs<int &>::value); in main() 37 CT_ASSERT(is_substitution_failure_remove_varargs<int (* const &)()>::value); in main() 38 CT_ASSERT(is_substitution_failure_remove_varargs<int (foo::* &)()>::value); in main() 39 CT_ASSERT(is_substitution_failure_remove_varargs<int (foo::* const)()>::value); in main() 40 CT_ASSERT(is_substitution_failure_remove_varargs<int (foo::* const &)()>::value); in main() 41 CT_ASSERT(is_substitution_failure_remove_varargs<int (foo::* volatile)()>::value); in main() 42 CT_ASSERT(is_substitution_failure_remove_varargs<void>::value); in main() [all …]
|
D | add_varargs_constraints.cpp | 33 CT_ASSERT(is_substitution_failure_add_varargs<decltype(lambda)>::value); in main() 34 CT_ASSERT(is_substitution_failure_add_varargs<decltype(lambda)&>::value); in main() 35 CT_ASSERT(is_substitution_failure_add_varargs<int>::value); in main() 36 CT_ASSERT(is_substitution_failure_add_varargs<int &>::value); in main() 37 CT_ASSERT(is_substitution_failure_add_varargs<int (* const &)()>::value); in main() 38 CT_ASSERT(is_substitution_failure_add_varargs<int (foo::* &)()>::value); in main() 39 CT_ASSERT(is_substitution_failure_add_varargs<int (foo::* const)()>::value); in main() 40 CT_ASSERT(is_substitution_failure_add_varargs<int (foo::* const &)()>::value); in main() 41 CT_ASSERT(is_substitution_failure_add_varargs<int (foo::* volatile)()>::value); in main() 42 CT_ASSERT(is_substitution_failure_add_varargs<void>::value); in main() [all …]
|
D | class_of_constraints.cpp | 33 CT_ASSERT(is_substitution_failure_class_of<decltype(lambda)>::value); in main() 34 CT_ASSERT(is_substitution_failure_class_of<decltype(lambda)&>::value); in main() 35 CT_ASSERT(is_substitution_failure_class_of<void>::value); in main() 36 CT_ASSERT(is_substitution_failure_class_of<void*>::value); in main() 37 CT_ASSERT(is_substitution_failure_class_of<int>::value); in main() 38 CT_ASSERT(is_substitution_failure_class_of<int &>::value); in main() 39 CT_ASSERT(is_substitution_failure_class_of<int()>::value); in main() 40 CT_ASSERT(is_substitution_failure_class_of<int(*)()>::value); in main() 41 CT_ASSERT(is_substitution_failure_class_of<int(**)()>::value); in main() 42 CT_ASSERT(is_substitution_failure_class_of<int(&)()>::value); in main() [all …]
|
D | qualifier_metafunction_constraints.hpp | 30 CT_ASSERT(PP_CAT(is_sub_failure_, CALLABLE_TRAIT_UNDER_TEST)<int>::value); in PP_CAT() 31 CT_ASSERT(PP_CAT(is_sub_failure_, CALLABLE_TRAIT_UNDER_TEST)<int &>::value); in PP_CAT() 32 CT_ASSERT(PP_CAT(is_sub_failure_, CALLABLE_TRAIT_UNDER_TEST)<int(&)()>::value); in PP_CAT() 33 CT_ASSERT(PP_CAT(is_sub_failure_, CALLABLE_TRAIT_UNDER_TEST)<int(*)()>::value); in PP_CAT() 34 CT_ASSERT(PP_CAT(is_sub_failure_, CALLABLE_TRAIT_UNDER_TEST)<int(* const foo::*)()>::value); in PP_CAT() 35 CT_ASSERT(PP_CAT(is_sub_failure_, CALLABLE_TRAIT_UNDER_TEST)<int foo::*>::value); in PP_CAT() 36 CT_ASSERT(PP_CAT(is_sub_failure_, CALLABLE_TRAIT_UNDER_TEST)<int (foo::* &)()>::value); in PP_CAT() 37 CT_ASSERT(PP_CAT(is_sub_failure_, CALLABLE_TRAIT_UNDER_TEST)<int (foo::* const)()>::value); in PP_CAT() 38 CT_ASSERT(PP_CAT(is_sub_failure_, CALLABLE_TRAIT_UNDER_TEST)<int (foo::* const &)()>::value); in PP_CAT() 39 CT_ASSERT(PP_CAT(is_sub_failure_, CALLABLE_TRAIT_UNDER_TEST)<int (foo::* volatile)()>::value); in PP_CAT() [all …]
|
D | has_member_qualifiers.cpp | 22 CT_ASSERT( has_member_qualifiers<T>::value); in assert_qualified() 28 CT_ASSERT(! has_member_qualifiers<T>::value); in assert_unqualified() 105 CT_ASSERT(! has_member_qualifiers<f>()); in main() 106 CT_ASSERT( has_member_qualifiers<l>()); in main() 107 CT_ASSERT( has_member_qualifiers<r>()); in main() 108 CT_ASSERT( has_member_qualifiers<c>()); in main() 109 CT_ASSERT( has_member_qualifiers<cl>()); in main() 110 CT_ASSERT( has_member_qualifiers<cr>()); in main() 111 CT_ASSERT( has_member_qualifiers<v>()); in main() 112 CT_ASSERT( has_member_qualifiers<vl>()); in main() [all …]
|
D | is_lvalue_reference_member.cpp | 23 CT_ASSERT( is_lvalue_reference_member<T>()); in assert_lvalue_qualified() 30 CT_ASSERT(! is_lvalue_reference_member<T>()); in assert_not_lvalue_qualified() 105 CT_ASSERT(! is_lvalue_reference_member<f>()); in main() 106 CT_ASSERT( is_lvalue_reference_member<l>()); in main() 107 CT_ASSERT(! is_lvalue_reference_member<r>()); in main() 108 CT_ASSERT(! is_lvalue_reference_member<c>()); in main() 109 CT_ASSERT( is_lvalue_reference_member<cl>()); in main() 110 CT_ASSERT(! is_lvalue_reference_member<cr>()); in main() 111 CT_ASSERT(! is_lvalue_reference_member<v>()); in main() 112 CT_ASSERT( is_lvalue_reference_member<vl>()); in main() [all …]
|