Lines Matching refs:hof
14 BOOST_HOF_STATIC_TEST_CHECK(boost::hof::identity(10) == 10); in BOOST_HOF_TEST_CASE()
15 BOOST_HOF_TEST_CHECK(boost::hof::identity(10) == 10); in BOOST_HOF_TEST_CASE()
21 BOOST_HOF_TEST_CHECK(boost::hof::identity(i) == 3); in BOOST_HOF_TEST_CASE()
22 BOOST_HOF_TEST_CHECK(&boost::hof::identity(i) == &i); in BOOST_HOF_TEST_CASE()
23 static_assert(std::is_lvalue_reference<decltype(boost::hof::identity(i))>::value, "Not lvalue"); in BOOST_HOF_TEST_CASE()
24 … static_assert(!std::is_lvalue_reference<decltype(boost::hof::identity(3))>::value, "Not rvalue"); in BOOST_HOF_TEST_CASE()
29 auto ls = boost::hof::identity({1, 2, 3, 4}); in BOOST_HOF_TEST_CASE()
36 …BOOST_HOF_TEST_CHECK(std::vector<int>(boost::hof::identity({1, 2, 3})) == std::vector<int>{1, 2, 3… in BOOST_HOF_TEST_CASE()
41 …static_assert(boost::hof::is_invocable<decltype(boost::hof::identity), int>::value, "Identiy calla… in BOOST_HOF_TEST_CASE()
42 …static_assert(!boost::hof::is_invocable<decltype(boost::hof::identity), int, int>::value, "Identiy… in BOOST_HOF_TEST_CASE()
43 …static_assert(!boost::hof::is_invocable<decltype(boost::hof::identity)>::value, "Identiy not calla… in BOOST_HOF_TEST_CASE()
48 static_assert(noexcept(boost::hof::identity({1, 2, 3})), "Noexcept identity"); in BOOST_HOF_TEST_CASE()
49 static_assert(noexcept(boost::hof::identity(1)), "Noexcept identity"); in BOOST_HOF_TEST_CASE()
51 static_assert(noexcept(boost::hof::identity(i)), "Noexcept identity"); in BOOST_HOF_TEST_CASE()
64 static_assert(noexcept(boost::hof::identity(ct)), "Noexcept identity"); in BOOST_HOF_TEST_CASE()
65 static_assert(noexcept(boost::hof::identity(boost::hof::move(ct))), "Noexcept identity"); in BOOST_HOF_TEST_CASE()
66 static_assert(!noexcept(boost::hof::identity(copy_throws{})), "Noexcept identity"); in BOOST_HOF_TEST_CASE()