Searched refs:bind_member (Results 1 - 3 of 3) sorted by relevance
/fuchsia/zircon/system/ulib/fit/include/lib/fit/ |
H A D | function.h | 172 // count_to_ten(fit::bind_member(&accum, &accumulator::add)); 176 auto bind_member(T* instance, R (T::*fn)(Args...)) { function in namespace:fit
|
/fuchsia/zircon/system/utest/fit/ |
H A D | function_tests.cpp | 670 bool bind_member() { function in namespace:__anon1383 676 fit::bind_member(&obj, &Obj::Call)(); 677 EXPECT_EQ(23, fit::bind_member(&obj, &Obj::AddOne)(22)); 678 EXPECT_EQ(6, fit::bind_member(&obj, &Obj::Sum)(1, 2, 3)); 679 move_only_value = fit::bind_member(&obj, &Obj::AddAndReturn)(std::move(move_only_value)); 783 count_to_ten(fit::bind_member(&accum, &accumulator::add)); 812 RUN_TEST(bind_member); variable
|
/fuchsia/zircon/system/utest/fbl/ |
H A D | function_tests.cpp | 603 bool bind_member() { function in namespace:fbl::tests::__anon1343 738 RUN_TEST(bind_member);
|
Completed in 37 milliseconds