/third_party/boost/libs/lambda/test/ |
D | bind_tests_simple_f_refs.cpp | 30 int sum_of_args_6(int a, int b, int c, int d, int e, int f) { return a+b+c+d+e+f; } in sum_of_args_6() function 73 BOOST_CHECK(bind(sum_of_args_6, 1, 2, 3, 4, 5, 6)()==21); in test_main() 85 BOOST_CHECK(bind(sum_of_args_6, _1, 2, 3, 4, 5, 6)(i)==21); in test_main() 97 BOOST_CHECK(bind(sum_of_args_6, _1, _2, 3, 4, 5, 6)(i, j)==21); in test_main() 109 BOOST_CHECK(bind(sum_of_args_6, _1, _2, _3, 4, 5, 6)(i, j, k)==21); in test_main() 124 bind(sum_of_args_6, _1, _2, _3, 4, 5, 6), // 21 in test_main()
|
D | bind_tests_simple.cpp | 30 int sum_of_args_6(int a, int b, int c, int d, int e, int f) { return a+b+c+d+e+f; } in sum_of_args_6() function 112 BOOST_CHECK(bind(&sum_of_args_6, 1, 2, 3, 4, 5, 6)()==21); in test_main() 124 BOOST_CHECK(bind(&sum_of_args_6, _1, 2, 3, 4, 5, 6)(i)==21); in test_main() 136 BOOST_CHECK(bind(&sum_of_args_6, _1, _2, 3, 4, 5, 6)(i, j)==21); in test_main() 148 BOOST_CHECK(bind(&sum_of_args_6, _1, _2, _3, 4, 5, 6)(i, j, k)==21); in test_main() 163 bind(&sum_of_args_6, _1, _2, _3, 4, 5, 6), // 21 in test_main()
|
/third_party/boost/libs/phoenix/test/bll_compatibility/ |
D | bind_tests_simple_f_refs.cpp | 30 int sum_of_args_6(int a, int b, int c, int d, int e, int f) { return a+b+c+d+e+f; } in sum_of_args_6() function 73 BOOST_TEST_EQ(bind(sum_of_args_6, 1, 2, 3, 4, 5, 6)(), 21); in main() 85 BOOST_TEST_EQ(bind(sum_of_args_6, _1, 2, 3, 4, 5, 6)(i), 21); in main() 97 BOOST_TEST_EQ(bind(sum_of_args_6, _1, _2, 3, 4, 5, 6)(i, j), 21); in main() 109 BOOST_TEST_EQ(bind(sum_of_args_6, _1, _2, _3, 4, 5, 6)(i, j, k), 21); in main() 124 bind(sum_of_args_6, _1, _2, _3, 4, 5, 6), // 21 in main()
|
D | bind_tests_simple.cpp | 30 int sum_of_args_6(int a, int b, int c, int d, int e, int f) { return a+b+c+d+e+f; } in sum_of_args_6() function 96 BOOST_TEST_EQ(bind(&sum_of_args_6, 1, 2, 3, 4, 5, 6)(), 21); in main() 108 BOOST_TEST_EQ(bind(&sum_of_args_6, _1, 2, 3, 4, 5, 6)(i), 21); in main() 120 BOOST_TEST_EQ(bind(&sum_of_args_6, _1, _2, 3, 4, 5, 6)(i, j), 21); in main() 132 BOOST_TEST_EQ(bind(&sum_of_args_6, _1, _2, _3, 4, 5, 6)(i, j, k), 21); in main() 147 bind(&sum_of_args_6, _1, _2, _3, 4, 5, 6), // 21 in main()
|