/third_party/boost/libs/lambda/test/ |
D | bind_tests_simple_f_refs.cpp | 29 int sum_of_args_5(int a, int b, int c, int d, int e) { return a+b+c+d+e; } in sum_of_args_5() function 72 BOOST_CHECK(bind(sum_of_args_5, 1, 2, 3, 4, 5)()==15); in test_main() 84 BOOST_CHECK(bind(sum_of_args_5, _1, 2, 3, 4, 5)(i)==15); in test_main() 96 BOOST_CHECK(bind(sum_of_args_5, _1, _2, 3, 4, 5)(i, j)==15); in test_main() 108 BOOST_CHECK(bind(sum_of_args_5, _1, _2, _3, 4, 5)(i, j, k)==15); in test_main() 123 bind(sum_of_args_5, _1, _2, _3, 4, 5), // 15 in test_main()
|
D | bind_tests_simple.cpp | 29 int sum_of_args_5(int a, int b, int c, int d, int e) { return a+b+c+d+e; } in sum_of_args_5() function 111 BOOST_CHECK(bind(&sum_of_args_5, 1, 2, 3, 4, 5)()==15); in test_main() 123 BOOST_CHECK(bind(&sum_of_args_5, _1, 2, 3, 4, 5)(i)==15); in test_main() 135 BOOST_CHECK(bind(&sum_of_args_5, _1, _2, 3, 4, 5)(i, j)==15); in test_main() 147 BOOST_CHECK(bind(&sum_of_args_5, _1, _2, _3, 4, 5)(i, j, k)==15); in test_main() 162 bind(&sum_of_args_5, _1, _2, _3, 4, 5), // 15 in test_main()
|
/third_party/boost/libs/phoenix/test/bll_compatibility/ |
D | bind_tests_simple_f_refs.cpp | 29 int sum_of_args_5(int a, int b, int c, int d, int e) { return a+b+c+d+e; } in sum_of_args_5() function 72 BOOST_TEST_EQ(bind(sum_of_args_5, 1, 2, 3, 4, 5)(), 15); in main() 84 BOOST_TEST_EQ(bind(sum_of_args_5, _1, 2, 3, 4, 5)(i), 15); in main() 96 BOOST_TEST_EQ(bind(sum_of_args_5, _1, _2, 3, 4, 5)(i, j), 15); in main() 108 BOOST_TEST_EQ(bind(sum_of_args_5, _1, _2, _3, 4, 5)(i, j, k), 15); in main() 123 bind(sum_of_args_5, _1, _2, _3, 4, 5), // 15 in main()
|
D | bind_tests_simple.cpp | 29 int sum_of_args_5(int a, int b, int c, int d, int e) { return a+b+c+d+e; } in sum_of_args_5() function 95 BOOST_TEST_EQ(bind(&sum_of_args_5, 1, 2, 3, 4, 5)(), 15); in main() 107 BOOST_TEST_EQ(bind(&sum_of_args_5, _1, 2, 3, 4, 5)(i), 15); in main() 119 BOOST_TEST_EQ(bind(&sum_of_args_5, _1, _2, 3, 4, 5)(i, j), 15); in main() 131 BOOST_TEST_EQ(bind(&sum_of_args_5, _1, _2, _3, 4, 5)(i, j, k), 15); in main() 146 bind(&sum_of_args_5, _1, _2, _3, 4, 5), // 15 in main()
|