Home
last modified time | relevance | path

Searched refs:CT_NonConst (Results 1 – 2 of 2) sorted by relevance

/external/libcxx/test/std/utilities/function.objects/func.not_fn/
Dnot_fn.pass.cpp128 CT_NonConst = 1, enumerator
142 set_call<Args&&...>(CT_NonConst | CT_LValue); in operator ()()
155 set_call<Args&&...>(CT_NonConst | CT_RValue); in operator ()()
471 assert(Fn::check_call<>(CT_NonConst | CT_LValue)); in call_operator_forwarding_test()
473 assert(Fn::check_call<>(CT_NonConst | CT_RValue)); in call_operator_forwarding_test()
483 assert(Fn::check_call<int&>(CT_NonConst | CT_LValue)); in call_operator_forwarding_test()
485 assert(Fn::check_call<const int&>(CT_NonConst | CT_LValue)); in call_operator_forwarding_test()
487 assert(Fn::check_call<int&&>(CT_NonConst | CT_LValue)); in call_operator_forwarding_test()
489 assert(Fn::check_call<const int&&>(CT_NonConst | CT_LValue)); in call_operator_forwarding_test()
491 assert(Fn::check_call<int&&>(CT_NonConst | CT_LValue)); in call_operator_forwarding_test()
[all …]
/external/libcxx/test/std/utilities/variant/variant.visit/
Dvisit.pass.cpp30 CT_NonConst = 1, enumerator
44 set_call<Args &&...>(CT_NonConst | CT_LValue); in operator ()()
55 set_call<Args &&...>(CT_NonConst | CT_RValue); in operator ()()
94 assert(Fn::check_call<int &>(CT_NonConst | CT_LValue)); in test_call_operator_forwarding()
98 assert(Fn::check_call<int &>(CT_NonConst | CT_RValue)); in test_call_operator_forwarding()
106 assert(Fn::check_call<long &>(CT_NonConst | CT_LValue)); in test_call_operator_forwarding()
110 assert(Fn::check_call<long &>(CT_NonConst | CT_RValue)); in test_call_operator_forwarding()
120 assert((Fn::check_call<long &, std::string &>(CT_NonConst | CT_LValue))); in test_call_operator_forwarding()
124 assert((Fn::check_call<long &, std::string &>(CT_NonConst | CT_RValue))); in test_call_operator_forwarding()
133 const auto Val = CT_LValue | CT_NonConst; in test_argument_forwarding()