Lines Matching refs:reverse_fold
31 …static_assert(noexcept(boost::hof::reverse_fold(max_f(), 0)(2, 3, 4, 5)), "noexcept reverse_fold"); in BOOST_HOF_TEST_CASE()
32 …static_assert(noexcept(boost::hof::reverse_fold(sum_f(), 0)(2, 3, 4, 5)), "noexcept reverse_fold"); in BOOST_HOF_TEST_CASE()
33 …static_assert(!noexcept(boost::hof::reverse_fold(sum_f(), std::string())("hello", "-", "world")), … in BOOST_HOF_TEST_CASE()
39 BOOST_HOF_TEST_CHECK(boost::hof::reverse_fold(max_f(), 0)(2, 3, 4, 5) == 5); in BOOST_HOF_TEST_CASE()
40 BOOST_HOF_TEST_CHECK(boost::hof::reverse_fold(max_f(), 0)(5, 4, 3, 2) == 5); in BOOST_HOF_TEST_CASE()
41 BOOST_HOF_TEST_CHECK(boost::hof::reverse_fold(max_f(), 0)(2, 3, 5, 4) == 5); in BOOST_HOF_TEST_CASE()
43 BOOST_HOF_STATIC_TEST_CHECK(boost::hof::reverse_fold(max_f(), 0)(2, 3, 4, 5) == 5); in BOOST_HOF_TEST_CASE()
44 BOOST_HOF_STATIC_TEST_CHECK(boost::hof::reverse_fold(max_f(), 0)(5, 4, 3, 2) == 5); in BOOST_HOF_TEST_CASE()
45 BOOST_HOF_STATIC_TEST_CHECK(boost::hof::reverse_fold(max_f(), 0)(2, 3, 5, 4) == 5); in BOOST_HOF_TEST_CASE()
50 BOOST_HOF_TEST_CHECK(boost::hof::reverse_fold(max_f(), 0)() == 0); in BOOST_HOF_TEST_CASE()
51 BOOST_HOF_TEST_CHECK(boost::hof::reverse_fold(max_f(), 0)(5) == 5); in BOOST_HOF_TEST_CASE()
53 BOOST_HOF_STATIC_TEST_CHECK(boost::hof::reverse_fold(max_f(), 0)() == 0); in BOOST_HOF_TEST_CASE()
54 BOOST_HOF_STATIC_TEST_CHECK(boost::hof::reverse_fold(max_f(), 0)(5) == 5); in BOOST_HOF_TEST_CASE()
60 boost::hof::reverse_fold(max_f(), 0)(xs...)
74 BOOST_HOF_TEST_CHECK(boost::hof::reverse_fold(max_f())(5) == 5); in BOOST_HOF_TEST_CASE()
76 BOOST_HOF_STATIC_TEST_CHECK(boost::hof::reverse_fold(max_f())(5) == 5); in BOOST_HOF_TEST_CASE()
81 BOOST_HOF_TEST_CHECK(boost::hof::reverse_fold(max_f())(2, 3, 4, 5) == 5); in BOOST_HOF_TEST_CASE()
82 BOOST_HOF_TEST_CHECK(boost::hof::reverse_fold(max_f())(5, 4, 3, 2) == 5); in BOOST_HOF_TEST_CASE()
83 BOOST_HOF_TEST_CHECK(boost::hof::reverse_fold(max_f())(2, 3, 5, 4) == 5); in BOOST_HOF_TEST_CASE()
85 BOOST_HOF_STATIC_TEST_CHECK(boost::hof::reverse_fold(max_f())(2, 3, 4, 5) == 5); in BOOST_HOF_TEST_CASE()
86 BOOST_HOF_STATIC_TEST_CHECK(boost::hof::reverse_fold(max_f())(5, 4, 3, 2) == 5); in BOOST_HOF_TEST_CASE()
87 BOOST_HOF_STATIC_TEST_CHECK(boost::hof::reverse_fold(max_f())(2, 3, 5, 4) == 5); in BOOST_HOF_TEST_CASE()
92 …BOOST_HOF_TEST_CHECK(boost::hof::reverse_fold(sum_f(), std::string())("hello", "-", "world") == "w… in BOOST_HOF_TEST_CASE()