/third_party/boost/libs/lambda/test/ |
D | bind_tests_simple_f_refs.cpp | 31 int sum_of_args_7(int a, int b, int c, int d, int e, int f, int g) { return a+b+c+d+e+f+g; } in sum_of_args_7() function 74 BOOST_CHECK(bind(sum_of_args_7, 1, 2, 3, 4, 5, 6, 7)()==28); in test_main() 86 BOOST_CHECK(bind(sum_of_args_7, _1, 2, 3, 4, 5, 6, 7)(i)==28); in test_main() 98 BOOST_CHECK(bind(sum_of_args_7, _1, _2, 3, 4, 5, 6, 7)(i, j)==28); in test_main() 110 BOOST_CHECK(bind(sum_of_args_7, _1, _2, _3, 4, 5, 6, 7)(i, j, k)==28); in test_main() 125 bind(sum_of_args_7, _1, _2, _3, 4, 5, 6, 7), // 28 in test_main()
|
D | bind_tests_simple.cpp | 31 int sum_of_args_7(int a, int b, int c, int d, int e, int f, int g) { return a+b+c+d+e+f+g; } in sum_of_args_7() function 113 BOOST_CHECK(bind(&sum_of_args_7, 1, 2, 3, 4, 5, 6, 7)()==28); in test_main() 125 BOOST_CHECK(bind(&sum_of_args_7, _1, 2, 3, 4, 5, 6, 7)(i)==28); in test_main() 137 BOOST_CHECK(bind(&sum_of_args_7, _1, _2, 3, 4, 5, 6, 7)(i, j)==28); in test_main() 149 BOOST_CHECK(bind(&sum_of_args_7, _1, _2, _3, 4, 5, 6, 7)(i, j, k)==28); in test_main() 164 bind(&sum_of_args_7, _1, _2, _3, 4, 5, 6, 7), // 28 in test_main()
|
/third_party/boost/libs/phoenix/test/bll_compatibility/ |
D | bind_tests_simple_f_refs.cpp | 31 int sum_of_args_7(int a, int b, int c, int d, int e, int f, int g) { return a+b+c+d+e+f+g; } in sum_of_args_7() function 74 BOOST_TEST_EQ(bind(sum_of_args_7, 1, 2, 3, 4, 5, 6, 7)(), 28); in main() 86 BOOST_TEST_EQ(bind(sum_of_args_7, _1, 2, 3, 4, 5, 6, 7)(i), 28); in main() 98 BOOST_TEST_EQ(bind(sum_of_args_7, _1, _2, 3, 4, 5, 6, 7)(i, j), 28); in main() 110 BOOST_TEST_EQ(bind(sum_of_args_7, _1, _2, _3, 4, 5, 6, 7)(i, j, k), 28); in main() 125 bind(sum_of_args_7, _1, _2, _3, 4, 5, 6, 7), // 28 in main()
|
D | bind_tests_simple.cpp | 31 int sum_of_args_7(int a, int b, int c, int d, int e, int f, int g) { return a+b+c+d+e+f+g; } in sum_of_args_7() function 97 BOOST_TEST_EQ(bind(&sum_of_args_7, 1, 2, 3, 4, 5, 6, 7)(), 28); in main() 109 BOOST_TEST_EQ(bind(&sum_of_args_7, _1, 2, 3, 4, 5, 6, 7)(i), 28); in main() 121 BOOST_TEST_EQ(bind(&sum_of_args_7, _1, _2, 3, 4, 5, 6, 7)(i, j), 28); in main() 133 BOOST_TEST_EQ(bind(&sum_of_args_7, _1, _2, _3, 4, 5, 6, 7)(i, j, k), 28); in main() 148 bind(&sum_of_args_7, _1, _2, _3, 4, 5, 6, 7), // 28 in main()
|