Home
last modified time | relevance | path

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

/external/libcxx/test/std/utilities/function.objects/func.not_fn/
Dnot_fn.pass.cpp130 CT_LValue = 4, enumerator
142 set_call<Args&&...>(CT_NonConst | CT_LValue); in operator ()()
148 set_call<Args&&...>(CT_Const | CT_LValue); in operator ()()
471 assert(Fn::check_call<>(CT_NonConst | CT_LValue)); in call_operator_forwarding_test()
475 assert(Fn::check_call<>(CT_Const | CT_LValue)); 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.cpp32 CT_LValue = 4, enumerator
44 set_call<Args &&...>(CT_NonConst | CT_LValue); in operator ()()
49 set_call<Args &&...>(CT_Const | CT_LValue); in operator ()()
94 assert(Fn::check_call<int &>(CT_NonConst | CT_LValue)); in test_call_operator_forwarding()
96 assert(Fn::check_call<int &>(CT_Const | CT_LValue)); in test_call_operator_forwarding()
106 assert(Fn::check_call<long &>(CT_NonConst | CT_LValue)); in test_call_operator_forwarding()
108 assert(Fn::check_call<long &>(CT_Const | CT_LValue)); in test_call_operator_forwarding()
120 assert((Fn::check_call<long &, std::string &>(CT_NonConst | CT_LValue))); in test_call_operator_forwarding()
122 assert((Fn::check_call<long &, std::string &>(CT_Const | CT_LValue))); in test_call_operator_forwarding()
133 const auto Val = CT_LValue | CT_NonConst; in test_argument_forwarding()