Searched refs:constant_bool (Results 1 – 4 of 4) sorted by relevance
/third_party/boost/libs/hana/test/assert/ |
D | constant.cpp | 12 auto constant_bool() { return make_cnumeric<bool, value>(); } in constant_bool() function 19 BOOST_HANA_CONSTANT_ASSERT(constant_bool<true>()); 20 BOOST_HANA_CONSTANT_ASSERT_MSG(constant_bool<true>(), "message"); 24 BOOST_HANA_CONSTANT_ASSERT(constant_bool<true>()); 25 BOOST_HANA_CONSTANT_ASSERT_MSG(constant_bool<true>(), "message"); 39 BOOST_HANA_CONSTANT_ASSERT(constant_bool<true>()); in main() 40 BOOST_HANA_CONSTANT_ASSERT_MSG(constant_bool<true>(), "message"); in main() 44 BOOST_HANA_CONSTANT_ASSERT(constant_bool<true>()); in main() 45 BOOST_HANA_CONSTANT_ASSERT_MSG(constant_bool<true>(), "message"); in main() 50 auto yes = constant_bool<true>(); in main()
|
D | commas.cpp | 18 auto constant_bool() { return make_cnumeric<bool, value>(); } in constant_bool() function 21 BOOST_HANA_CONSTANT_ASSERT(constant_bool<true, void>()); in main() 22 BOOST_HANA_CONSTANT_ASSERT(constant_bool<true, void, void>()); in main() 23 BOOST_HANA_CONSTANT_ASSERT(constant_bool<true, void, void, void>()); in main() 32 BOOST_HANA_ASSERT(constant_bool<true, void>()); in main() 33 BOOST_HANA_ASSERT(constant_bool<true, void, void>()); in main() 34 BOOST_HANA_ASSERT(constant_bool<true, void, void, void>()); in main()
|
D | flexible.cpp | 15 auto constant_bool() { return make_cnumeric<bool, value>(); } in constant_bool() function 21 BOOST_HANA_ASSERT(constant_bool<true>()); in main() 24 BOOST_HANA_ASSERT_MSG(constant_bool<true>(), "message"); in main() 27 auto ct_yes = constant_bool<true>(); in main()
|
D | lambdas.cpp | 18 auto constant_bool() { return make_cnumeric<bool, value>(); } in constant_bool() function 21 BOOST_HANA_CONSTANT_ASSERT([]{ return constant_bool<true>(); }()); in main() 23 BOOST_HANA_ASSERT([] { return constant_bool<true>(); }()); in main()
|