Lines Matching refs:A_int_1
137 struct A_int_1
139 A_int_1() : data_(5) {}
167 assert(std::bind(A_int_1(), _1)(4) == 3);
168 assert(std::bind(A_int_1(), 4)() == 3);
172 assert(std::bind(&A_int_1::mem1, _1)(A_int_1()) == 3);
173 assert(std::bind(&A_int_1::mem1, A_int_1())() == 3);
174 A_int_1 a;
175 assert(std::bind(&A_int_1::mem1, _1)(&a) == 3);
176 assert(std::bind(&A_int_1::mem1, &a)() == 3);
180 assert(std::bind(&A_int_1::mem2, _1)(A_int_1()) == 4);
181 assert(std::bind(&A_int_1::mem2, A_int_1())() == 4);
182 A_int_1 a;
183 assert(std::bind(&A_int_1::mem2, _1)(&a) == 4);
184 assert(std::bind(&A_int_1::mem2, &a)() == 4);
188 assert(std::bind(&A_int_1::data_, _1)(A_int_1()) == 5);
189 assert(std::bind(&A_int_1::data_, A_int_1())() == 5);
190 A_int_1 a;
191 assert(std::bind(&A_int_1::data_, _1)(a) == 5);
192 std::bind(&A_int_1::data_, _1)(a) = 6;
193 assert(std::bind(&A_int_1::data_, _1)(a) == 6);
194 assert(std::bind(&A_int_1::data_, _1)(&a) == 6);
195 std::bind(&A_int_1::data_, _1)(&a) = 7;
196 assert(std::bind(&A_int_1::data_, _1)(&a) == 7);