Home
last modified time | relevance | path

Searched refs:binary_class (Results 1 – 11 of 11) sorted by relevance

/third_party/boost/libs/hof/test/
Dcapture.cpp13 BOOST_HOF_STATIC_TEST_CHECK(boost::hof::capture_basic(1, 2)(binary_class())() == 3); in BOOST_HOF_TEST_CASE()
14 BOOST_HOF_TEST_CHECK(boost::hof::capture_basic(1, 2)(binary_class())() == 3); in BOOST_HOF_TEST_CASE()
16 BOOST_HOF_STATIC_TEST_CHECK(boost::hof::capture_basic(1)(binary_class())(2) == 3); in BOOST_HOF_TEST_CASE()
17 BOOST_HOF_TEST_CHECK(boost::hof::capture_basic(1)(binary_class())(2) == 3); in BOOST_HOF_TEST_CASE()
19 BOOST_HOF_STATIC_TEST_CHECK(boost::hof::capture_basic()(binary_class())(1, 2) == 3); in BOOST_HOF_TEST_CASE()
20 BOOST_HOF_TEST_CHECK(boost::hof::capture_basic()(binary_class())(1, 2) == 3); in BOOST_HOF_TEST_CASE()
24 BOOST_HOF_STATIC_TEST_CHECK(boost::hof::capture_forward(one, two)(binary_class())() == 3); in BOOST_HOF_TEST_CASE()
25 BOOST_HOF_TEST_CHECK(boost::hof::capture_forward(one, two)(binary_class())() == 3); in BOOST_HOF_TEST_CASE()
26 BOOST_HOF_TEST_CHECK(boost::hof::capture_forward(1, 2)(binary_class())() == 3); in BOOST_HOF_TEST_CASE()
28 BOOST_HOF_STATIC_TEST_CHECK(boost::hof::capture_forward(one)(binary_class())(two) == 3); in BOOST_HOF_TEST_CASE()
[all …]
Dpack.cpp17 BOOST_HOF_TEST_CHECK(p2(binary_class()) == p1(binary_class())); in BOOST_HOF_TEST_CASE()
19 BOOST_HOF_STATIC_TEST_CHECK(boost::hof::pack_basic(1, 2)(binary_class()) == 3); in BOOST_HOF_TEST_CASE()
20 BOOST_HOF_TEST_CHECK(boost::hof::pack_basic(1, 2)(binary_class()) == 3 ); in BOOST_HOF_TEST_CASE()
22 BOOST_HOF_STATIC_TEST_CHECK(boost::hof::pack(1, 2)(binary_class()) == 3); in BOOST_HOF_TEST_CASE()
23 BOOST_HOF_TEST_CHECK(boost::hof::pack(1, 2)(binary_class()) == 3 ); in BOOST_HOF_TEST_CASE()
25 BOOST_HOF_STATIC_TEST_CHECK(boost::hof::pack_forward(1, 2)(binary_class()) == 3); in BOOST_HOF_TEST_CASE()
26 BOOST_HOF_TEST_CHECK(boost::hof::pack_forward(1, 2)(binary_class()) == 3 ); in BOOST_HOF_TEST_CASE()
79 BOOST_HOF_STATIC_TEST_CHECK(boost::hof::pack_basic(x, y)(binary_class()) == 3); in BOOST_HOF_TEST_CASE()
80 BOOST_HOF_TEST_CHECK(boost::hof::pack_basic(x, y)(binary_class()) == 3 ); in BOOST_HOF_TEST_CASE()
85 BOOST_HOF_STATIC_TEST_CHECK(boost::hof::pack(x, y)(binary_class()) == 3); in BOOST_HOF_TEST_CASE()
[all …]
Dindirect.cpp12 …BOOST_HOF_TEST_CHECK(3 == boost::hof::indirect(std::unique_ptr<binary_class>(new binary_class()))(… in BOOST_HOF_TEST_CASE()
13 …3 == boost::hof::reveal(boost::hof::indirect(std::unique_ptr<binary_class>(new binary_class())))(1… in BOOST_HOF_TEST_CASE()
15 binary_class f; in BOOST_HOF_TEST_CASE()
23 binary_class f; in BOOST_HOF_TEST_CASE()
Dunpack.cpp15 static constexpr boost::hof::static_<boost::hof::unpack_adaptor<binary_class> > binary_unpack = {};
19 BOOST_HOF_STATIC_AUTO binary_unpack_constexpr = boost::hof::unpack_adaptor<binary_class>();
23 …AUTO binary_unpack_reveal = boost::hof::reveal_adaptor<boost::hof::unpack_adaptor<binary_class>>();
64 BOOST_HOF_TEST_CHECK(3 == boost::hof::unpack(binary_class())(std::make_tuple(1, 2))); in BOOST_HOF_TEST_CASE()
68 …BOOST_HOF_TEST_CHECK(3 == boost::hof::unpack(binary_class())(std::make_tuple(1), std::make_tuple(2… in BOOST_HOF_TEST_CASE()
72 …BOOST_HOF_TEST_CHECK(3 == boost::hof::unpack(binary_class())(std::make_tuple(1), std::make_tuple()… in BOOST_HOF_TEST_CASE()
76 …BOOST_HOF_TEST_CHECK(3 == boost::hof::unpack(binary_class())(std::make_tuple(), std::make_tuple(1)… in BOOST_HOF_TEST_CASE()
80 …BOOST_HOF_TEST_CHECK(3 == boost::hof::unpack(binary_class())(std::make_tuple(1), std::make_tuple()… in BOOST_HOF_TEST_CASE()
85 BOOST_HOF_STATIC_TEST_CHECK(3 == boost::hof::unpack(binary_class())(std::make_tuple(1, 2))); in BOOST_HOF_TEST_CASE()
89 …BOOST_HOF_STATIC_TEST_CHECK(3 == boost::hof::unpack(binary_class())(std::make_tuple(1), std::make_… in BOOST_HOF_TEST_CASE()
[all …]
Dpartial.cpp11 static constexpr boost::hof::static_<boost::hof::partial_adaptor<binary_class> > binary_partial = {…
23 constexpr boost::hof::partial_adaptor<binary_class> binary_partial_constexpr = {};
77 static_assert(noexcept(boost::hof::partial(binary_class{})(1)(2)), "noexcept partial"); in BOOST_HOF_TEST_CASE()
82 auto f = boost::hof::partial(boost::hof::limit_c<2>(binary_class())); in BOOST_HOF_TEST_CASE()
97 auto f = boost::hof::partial(binary_class()); in BOOST_HOF_TEST_CASE()
Dpipable.cpp12 static constexpr boost::hof::static_<boost::hof::pipable_adaptor<binary_class> > binary_pipable = {…
26 constexpr boost::hof::pipable_adaptor<binary_class> binary_pipable_constexpr = {};
86 auto f = boost::hof::pipable(boost::hof::limit_c<2>(binary_class())); in BOOST_HOF_TEST_CASE()
Dapply_eval.cpp16 …BOOST_HOF_STATIC_TEST_CHECK(boost::hof::apply_eval(binary_class(), boost::hof::always(1), boost::h… in BOOST_HOF_TEST_CASE()
17 …BOOST_HOF_TEST_CHECK(boost::hof::apply_eval(binary_class(), []{ return 1; }, []{ return 2;}) == 3); in BOOST_HOF_TEST_CASE()
Dlimit.cpp14 auto f = boost::hof::limit(std::integral_constant<int, 2>())(binary_class()); in BOOST_HOF_TEST_CASE()
21 auto f = boost::hof::limit_c<2>(binary_class()); in BOOST_HOF_TEST_CASE()
Dstatic.cpp12 static constexpr boost::hof::static_<binary_class> binary_static = {};
Dapply.cpp12 BOOST_HOF_STATIC_TEST_CHECK(boost::hof::apply(binary_class(), 1, 2) == 3); in BOOST_HOF_TEST_CASE()
13 BOOST_HOF_TEST_CHECK(boost::hof::apply(binary_class(), 1, 2) == 3); in BOOST_HOF_TEST_CASE()
18 BOOST_HOF_TEST_CHECK(boost::hof::apply(boost::hof::apply, binary_class(), 1, 2) == 3); in BOOST_HOF_TEST_CASE()
19 BOOST_HOF_STATIC_TEST_CHECK(boost::hof::apply(boost::hof::apply, binary_class(), 1, 2) == 3); in BOOST_HOF_TEST_CASE()
Dtest.hpp95 struct binary_class struct