Home
last modified time | relevance | path

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

/third_party/boost/libs/hof/test/
Dplaceholders.cpp94 BOOST_HOF_PLACEHOLDER_TEST_CONSTEXPR auto f_subtract = boost::hof::_1 - boost::hof::_2; in BOOST_HOF_TEST_CASE() local
96 static_assert(std::is_copy_constructible<decltype(f_subtract)>::value, "Not copyable"); in BOOST_HOF_TEST_CASE()
98 …static_assert(boost::hof::detail::is_default_constructible<decltype(f_subtract)>::value, "Not defa… in BOOST_HOF_TEST_CASE()
99 PLACEHOLDER_CHECK(f_subtract(2, 1) == x_subtract); in BOOST_HOF_TEST_CASE()
317 BOOST_HOF_PLACEHOLDER_TEST_CONSTEXPR auto f_subtract = boost::hof::_ - boost::hof::_; in BOOST_HOF_TEST_CASE() local
319 static_assert(std::is_copy_constructible<decltype(f_subtract)>::value, "Not copyable"); in BOOST_HOF_TEST_CASE()
321 …static_assert(boost::hof::detail::is_default_constructible<decltype(f_subtract)>::value, "Not defa… in BOOST_HOF_TEST_CASE()
322 PLACEHOLDER_CHECK(f_subtract(2, 1) == x_subtract); in BOOST_HOF_TEST_CASE()
464 BOOST_HOF_PLACEHOLDER_TEST_CONSTEXPR auto f_subtract = 2 - boost::hof::_; in BOOST_HOF_TEST_CASE() local
466 static_assert(std::is_copy_constructible<decltype(f_subtract)>::value, "Not copyable"); in BOOST_HOF_TEST_CASE()
[all …]