/third_party/boost/libs/lambda/test/ |
D | bind_tests_simple_f_refs.cpp | 28 int sum_of_args_4(int a, int b, int c, int d) { return a+b+c+d; } in sum_of_args_4() function 71 BOOST_CHECK(bind(sum_of_args_4, 1, 2, 3, 4)()==10); in test_main() 83 BOOST_CHECK(bind(sum_of_args_4, _1, 2, 3, 4)(i)==10); in test_main() 95 BOOST_CHECK(bind(sum_of_args_4, _1, _2, 3, 4)(i, j)==10); in test_main() 107 BOOST_CHECK(bind(sum_of_args_4, _1, _2, _3, 4)(i, j, k)==10); in test_main() 122 bind(sum_of_args_4, _1, _2, _3, 4), // 10 in test_main() 132 bind(sum_of_args_4, // 12 in test_main()
|
D | bind_tests_simple.cpp | 28 int sum_of_args_4(int a, int b, int c, int d) { return a+b+c+d; } in sum_of_args_4() function 110 BOOST_CHECK(bind(&sum_of_args_4, 1, 2, 3, 4)()==10); in test_main() 122 BOOST_CHECK(bind(&sum_of_args_4, _1, 2, 3, 4)(i)==10); in test_main() 134 BOOST_CHECK(bind(&sum_of_args_4, _1, _2, 3, 4)(i, j)==10); in test_main() 146 BOOST_CHECK(bind(&sum_of_args_4, _1, _2, _3, 4)(i, j, k)==10); in test_main() 161 bind(&sum_of_args_4, _1, _2, _3, 4), // 10 in test_main() 171 bind(&sum_of_args_4, // 12 in test_main()
|
/third_party/boost/libs/phoenix/test/bll_compatibility/ |
D | bind_tests_simple_f_refs.cpp | 28 int sum_of_args_4(int a, int b, int c, int d) { return a+b+c+d; } in sum_of_args_4() function 71 BOOST_TEST_EQ(bind(sum_of_args_4, 1, 2, 3, 4)(), 10); in main() 83 BOOST_TEST_EQ(bind(sum_of_args_4, _1, 2, 3, 4)(i), 10); in main() 95 BOOST_TEST_EQ(bind(sum_of_args_4, _1, _2, 3, 4)(i, j), 10); in main() 107 BOOST_TEST_EQ(bind(sum_of_args_4, _1, _2, _3, 4)(i, j, k), 10); in main() 122 bind(sum_of_args_4, _1, _2, _3, 4), // 10 in main() 132 bind(sum_of_args_4, // 12 in main()
|
D | bind_tests_simple.cpp | 28 int sum_of_args_4(int a, int b, int c, int d) { return a+b+c+d; } in sum_of_args_4() function 94 BOOST_TEST_EQ(bind(&sum_of_args_4, 1, 2, 3, 4)(), 10); in main() 106 BOOST_TEST_EQ(bind(&sum_of_args_4, _1, 2, 3, 4)(i), 10); in main() 118 BOOST_TEST_EQ(bind(&sum_of_args_4, _1, _2, 3, 4)(i, j), 10); in main() 130 BOOST_TEST_EQ(bind(&sum_of_args_4, _1, _2, _3, 4)(i, j, k), 10); in main() 145 bind(&sum_of_args_4, _1, _2, _3, 4), // 10 in main() 155 bind(&sum_of_args_4, // 12 in main()
|