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 ()()
475 assert(Fn::check_call<>(CT_NonConst | CT_LValue)); in call_operator_forwarding_test()
477 assert(Fn::check_call<>(CT_NonConst | CT_RValue)); 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()
493 assert(Fn::check_call<const int&&>(CT_NonConst | CT_LValue)); in call_operator_forwarding_test()
495 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.cpp38 CT_NonConst = 1, enumerator
52 set_call<Args &&...>(CT_NonConst | CT_LValue); in operator ()()
63 set_call<Args &&...>(CT_NonConst | CT_RValue); in operator ()()
100 assert(Fn::check_call<>(CT_NonConst | CT_LValue)); in test_call_operator_forwarding()
104 assert(Fn::check_call<>(CT_NonConst | CT_RValue)); in test_call_operator_forwarding()
112 assert(Fn::check_call<int &>(CT_NonConst | CT_LValue)); in test_call_operator_forwarding()
116 assert(Fn::check_call<int &>(CT_NonConst | CT_RValue)); in test_call_operator_forwarding()
124 assert(Fn::check_call<long &>(CT_NonConst | CT_LValue)); in test_call_operator_forwarding()
128 assert(Fn::check_call<long &>(CT_NonConst | CT_RValue)); in test_call_operator_forwarding()
138 assert((Fn::check_call<long &, std::string &>(CT_NonConst | CT_LValue))); in test_call_operator_forwarding()
[all …]