Lines Matching refs:always
15 BOOST_HOF_STATIC_TEST_CHECK(boost::hof::always(ten)(1,2,3,4,5) == 10); in BOOST_HOF_TEST_CASE()
16 BOOST_HOF_TEST_CHECK( boost::hof::always(ten)(1,2,3,4,5) == 10 ); in BOOST_HOF_TEST_CASE()
19 BOOST_HOF_TEST_CHECK( boost::hof::always(std::ref(i))(1,2,3,4,5) == 10 ); in BOOST_HOF_TEST_CASE()
20 BOOST_HOF_TEST_CHECK( &boost::hof::always(std::ref(i))(1,2,3,4,5) == &i ); in BOOST_HOF_TEST_CASE()
22 boost::hof::always()(1, 2); in BOOST_HOF_TEST_CASE()
23 …static_assert(std::is_same<decltype(boost::hof::always()(1, 2)), BOOST_HOF_ALWAYS_VOID_RETURN>::va… in BOOST_HOF_TEST_CASE()
33 BOOST_HOF_STATIC_FUNCTION(gten) = boost::hof::always(std::integral_constant<int, 10>{});
43 auto f = boost::hof::always(10); in BOOST_HOF_TEST_CASE()
57 static_assert(noexcept(boost::hof::always()()), "noexcept always"); in BOOST_HOF_TEST_CASE()
58 static_assert(noexcept(boost::hof::always(1)()), "noexcept always"); in BOOST_HOF_TEST_CASE()
59 static_assert(!noexcept(boost::hof::always(copy_throws{})()), "noexcept always"); in BOOST_HOF_TEST_CASE()
61 static_assert(!noexcept(boost::hof::always(ct)()), "noexcept always"); in BOOST_HOF_TEST_CASE()
62 …static_assert(noexcept(boost::hof::always(std::ref(ct))()) == BOOST_HOF_IS_NOTHROW_COPY_CONSTRUCTI… in BOOST_HOF_TEST_CASE()
63 auto ctf = boost::hof::always(copy_throws{}); in BOOST_HOF_TEST_CASE()