Home | History | Annotate | Download | only in func.not_fn

Lines Matching defs:fn

457         auto fn = [](auto x) { return x; };
458 using T = decltype(std::not_fn(fn));
466 using Fn = ForwardingCallObject;
467 auto obj = std::not_fn(Fn{});
471 assert(Fn::check_call<>(CT_NonConst | CT_LValue));
473 assert(Fn::check_call<>(CT_NonConst | CT_RValue));
475 assert(Fn::check_call<>(CT_Const | CT_LValue));
477 assert(Fn::check_call<>(CT_Const | CT_RValue));
483 assert(Fn::check_call<int&>(CT_NonConst | CT_LValue));
485 assert(Fn::check_call<const int&>(CT_NonConst | CT_LValue));
487 assert(Fn::check_call<int&&>(CT_NonConst | CT_LValue));
489 assert(Fn::check_call<const int&&>(CT_NonConst | CT_LValue));
491 assert(Fn::check_call<int&&>(CT_NonConst | CT_LValue));
497 assert(Fn::check_call<int&>(CT_NonConst | CT_RValue));
499 assert(Fn::check_call<const int&>(CT_NonConst | CT_RValue));
501 assert(Fn::check_call<int&&>(CT_NonConst | CT_RValue));
503 assert(Fn::check_call<const int&&>(CT_NonConst | CT_RValue));
505 assert(Fn::check_call<int&&>(CT_NonConst | CT_RValue));
511 assert(Fn::check_call<int&>(CT_Const | CT_LValue));
513 assert(Fn::check_call<const int&>(CT_Const | CT_LValue));
515 assert(Fn::check_call<int&&>(CT_Const | CT_LValue));
517 assert(Fn::check_call<const int&&>(CT_Const | CT_LValue));
519 assert(Fn::check_call<int&&>(CT_Const | CT_LValue));
525 assert(Fn::check_call<int&>(CT_Const | CT_RValue));
527 assert(Fn::check_call<const int&>(CT_Const | CT_RValue));
529 assert(Fn::check_call<int&&>(CT_Const | CT_RValue));
531 assert(Fn
533 assert(Fn::check_call<int&&>(CT_Const | CT_RValue));
539 Fn::check_call<int&&, const double&&, std::string&, std::string&&>(CT_NonConst | CT_LValue);
541 Fn::check_call<int&&, const double&&, std::string&, std::string&&>(CT_NonConst | CT_RValue);
543 Fn::check_call<int&&, const double&&, std::string&, std::string&&>(CT_Const | CT_LValue);
545 Fn::check_call<int&&, const double&&, std::string&, std::string&&>(CT_Const | CT_RValue);