Home
last modified time | relevance | path

Searched defs:sum_f (Results 1 – 6 of 6) sorted by relevance

/third_party/boost/libs/hof/test/
Dfunction.cpp15 struct sum_f struct
18 constexpr T operator()(T x, U y) const in operator ()()
54 struct sum_f struct
57 constexpr T operator()(T x, U y) const in operator ()()
Dtap.cpp10 struct sum_f struct
19 static constexpr boost::hof::pipable_adaptor<sum_f> sum = {}; argument
Dreverse_fold.cpp19 struct sum_f struct
32 …static_assert(noexcept(boost::hof::reverse_fold(sum_f(), 0)(2, 3, 4, 5)), "noexcept reverse_fold"); in BOOST_HOF_TEST_CASE() argument
Dfold.cpp19 struct sum_f struct
32 static_assert(noexcept(boost::hof::fold(sum_f(), 0)(2, 3, 4, 5)), "noexcept fold"); in BOOST_HOF_TEST_CASE() argument
Dif.cpp104 struct sum_f struct
118 BOOST_HOF_TEST_CHECK(sum_f()(1, 2) == 3); in BOOST_HOF_TEST_CASE() argument
Dinfix.cpp14 struct sum_f struct
23 static constexpr boost::hof::infix_adaptor<sum_f> sum = {}; argument