Lines Matching refs:Fn

95   using Fn = ForwardingCallObject;  in test_call_operator_forwarding()  typedef
96 Fn obj{}; in test_call_operator_forwarding()
97 const Fn &cobj = obj; in test_call_operator_forwarding()
100 assert(Fn::check_call<>(CT_NonConst | CT_LValue)); in test_call_operator_forwarding()
102 assert(Fn::check_call<>(CT_Const | CT_LValue)); in test_call_operator_forwarding()
104 assert(Fn::check_call<>(CT_NonConst | CT_RValue)); in test_call_operator_forwarding()
106 assert(Fn::check_call<>(CT_Const | CT_RValue)); in test_call_operator_forwarding()
112 assert(Fn::check_call<int &>(CT_NonConst | CT_LValue)); in test_call_operator_forwarding()
114 assert(Fn::check_call<int &>(CT_Const | CT_LValue)); in test_call_operator_forwarding()
116 assert(Fn::check_call<int &>(CT_NonConst | CT_RValue)); in test_call_operator_forwarding()
118 assert(Fn::check_call<int &>(CT_Const | CT_RValue)); in test_call_operator_forwarding()
124 assert(Fn::check_call<long &>(CT_NonConst | CT_LValue)); in test_call_operator_forwarding()
126 assert(Fn::check_call<long &>(CT_Const | CT_LValue)); in test_call_operator_forwarding()
128 assert(Fn::check_call<long &>(CT_NonConst | CT_RValue)); in test_call_operator_forwarding()
130 assert(Fn::check_call<long &>(CT_Const | CT_RValue)); in test_call_operator_forwarding()
138 assert((Fn::check_call<long &, std::string &>(CT_NonConst | CT_LValue))); in test_call_operator_forwarding()
140 assert((Fn::check_call<long &, std::string &>(CT_Const | CT_LValue))); in test_call_operator_forwarding()
142 assert((Fn::check_call<long &, std::string &>(CT_NonConst | CT_RValue))); in test_call_operator_forwarding()
144 assert((Fn::check_call<long &, std::string &>(CT_Const | CT_RValue))); in test_call_operator_forwarding()
149 using Fn = ForwardingCallObject; in test_argument_forwarding() typedef
150 Fn obj{}; in test_argument_forwarding()
157 assert(Fn::check_call<int &>(Val)); in test_argument_forwarding()
159 assert(Fn::check_call<const int &>(Val)); in test_argument_forwarding()
161 assert(Fn::check_call<int &&>(Val)); in test_argument_forwarding()
163 assert(Fn::check_call<const int &&>(Val)); in test_argument_forwarding()
172 assert(Fn::check_call<int &>(Val)); in test_argument_forwarding()
174 assert(Fn::check_call<int &>(Val)); in test_argument_forwarding()
176 assert(Fn::check_call<int &>(Val)); in test_argument_forwarding()
178 assert(Fn::check_call<int &>(Val)); in test_argument_forwarding()
186 assert(Fn::check_call<int &>(Val)); in test_argument_forwarding()
188 assert(Fn::check_call<int &>(Val)); in test_argument_forwarding()
190 assert(Fn::check_call<int &&>(Val)); in test_argument_forwarding()
192 assert(Fn::check_call<int &&>(Val)); in test_argument_forwarding()
206 assert((Fn::check_call<int &, S, long &>(Val))); in test_argument_forwarding()
208 assert((Fn::check_call<const int &, S, long &&>(Val))); in test_argument_forwarding()