Home
last modified time | relevance | path

Searched refs:sum_of_args_2 (Results 1 – 4 of 4) sorted by relevance

/third_party/boost/libs/lambda/test/
Dbind_tests_simple_f_refs.cpp26 int sum_of_args_2(int a, int b) { return a+b; } in sum_of_args_2() function
69 BOOST_CHECK(bind(sum_of_args_2, 1, 2)()==3); in test_main()
81 BOOST_CHECK(bind(sum_of_args_2, _1, 2)(i)==3); in test_main()
93 BOOST_CHECK(bind(sum_of_args_2, _1, _2)(i, j)==3); in test_main()
105 BOOST_CHECK(bind(sum_of_args_2, _1, _2)(i, j)==3); in test_main()
115 BOOST_CHECK(bind(sum_of_args_3, bind(sum_of_args_2, _1, 2), 2, 3)(i)==8); in test_main()
120 bind(sum_of_args_2, _1, _2), // 3 in test_main()
133 bind(sum_of_args_2, // 3 in test_main()
Dbind_tests_simple.cpp26 int sum_of_args_2(int a, int b) { return a+b; } in sum_of_args_2() function
108 BOOST_CHECK(bind(&sum_of_args_2, 1, 2)()==3); in test_main()
120 BOOST_CHECK(bind(&sum_of_args_2, _1, 2)(i)==3); in test_main()
132 BOOST_CHECK(bind(&sum_of_args_2, _1, _2)(i, j)==3); in test_main()
144 BOOST_CHECK(bind(&sum_of_args_2, _1, _2)(i, j)==3); in test_main()
154 BOOST_CHECK(bind(&sum_of_args_3, bind(&sum_of_args_2, _1, 2), 2, 3)(i)==8); in test_main()
159 bind(&sum_of_args_2, _1, _2), // 3 in test_main()
172 bind(&sum_of_args_2, // 3 in test_main()
/third_party/boost/libs/phoenix/test/bll_compatibility/
Dbind_tests_simple_f_refs.cpp26 int sum_of_args_2(int a, int b) { return a+b; } in sum_of_args_2() function
69 BOOST_TEST_EQ(bind(sum_of_args_2, 1, 2)(), 3); in main()
81 BOOST_TEST_EQ(bind(sum_of_args_2, _1, 2)(i), 3); in main()
93 BOOST_TEST_EQ(bind(sum_of_args_2, _1, _2)(i, j), 3); in main()
105 BOOST_TEST_EQ(bind(sum_of_args_2, _1, _2)(i, j), 3); in main()
115 BOOST_TEST_EQ(bind(sum_of_args_3, bind(sum_of_args_2, _1, 2), 2, 3)(i), 8); in main()
120 bind(sum_of_args_2, _1, _2), // 3 in main()
133 bind(sum_of_args_2, // 3 in main()
Dbind_tests_simple.cpp26 int sum_of_args_2(int a, int b) { return a+b; } in sum_of_args_2() function
92 BOOST_TEST_EQ(bind(&sum_of_args_2, 1, 2)(), 3); in main()
104 BOOST_TEST_EQ(bind(&sum_of_args_2, _1, 2)(i), 3); in main()
116 BOOST_TEST_EQ(bind(&sum_of_args_2, _1, _2)(i, j), 3); in main()
128 BOOST_TEST_EQ(bind(&sum_of_args_2, _1, _2)(i, j), 3); in main()
138 BOOST_TEST_EQ(bind(&sum_of_args_3, bind(&sum_of_args_2, _1, 2), 2, 3)(i), 8); in main()
143 bind(&sum_of_args_2, _1, _2), // 3 in main()
156 bind(&sum_of_args_2, // 3 in main()