Home
last modified time | relevance | path

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

/third_party/boost/libs/spirit/test/x3/
Dbool.cpp58 constexpr backwards_bool_type backwards_bool{}; in main() local
60 BOOST_SPIRIT_ASSERT_CONSTEXPR_CTORS(backwards_bool); in main()
62 BOOST_TEST(test("true", backwards_bool)); in main()
63 BOOST_TEST(test("eurt", backwards_bool)); in main()
64 BOOST_TEST(!test("false", backwards_bool)); in main()
65 BOOST_TEST(!test("fasle", backwards_bool)); in main()
68 BOOST_TEST(test_attr("true", backwards_bool, b) && b); in main()
69 BOOST_TEST(test_attr("eurt", backwards_bool, b) && !b); in main()
70 BOOST_TEST(!test_attr("false", backwards_bool, b)); in main()
71 BOOST_TEST(!test_attr("fasle", backwards_bool, b)); in main()
/third_party/boost/libs/spirit/test/qi/
Dbool1.cpp54 backwards_bool_type const backwards_bool = backwards_bool_type(); in main() local
56 BOOST_TEST(test("true", backwards_bool)); in main()
57 BOOST_TEST(test("eurt", backwards_bool)); in main()
58 BOOST_TEST(!test("false", backwards_bool)); in main()
59 BOOST_TEST(!test("fasle", backwards_bool)); in main()
62 BOOST_TEST(test_attr("true", backwards_bool, b) && b); in main()
63 BOOST_TEST(test_attr("eurt", backwards_bool, b) && !b); in main()
64 BOOST_TEST(!test_attr("false", backwards_bool, b)); in main()
65 BOOST_TEST(!test_attr("fasle", backwards_bool, b)); in main()
Dbool2.cpp48 backwards_bool_type const backwards_bool = backwards_bool_type(); in main() local
50 BOOST_TEST(test("true", backwards_bool(true))); in main()
51 BOOST_TEST(test("eurt", backwards_bool(false))); in main()
52 BOOST_TEST(!test("true", backwards_bool(false))); in main()
53 BOOST_TEST(!test("eurt", backwards_bool(true))); in main()
/third_party/boost/libs/spirit/test/karma/
Dbool.cpp152 backwards_bool_type const backwards_bool = backwards_bool_type(); in main() local
154 BOOST_TEST(test("eurt", backwards_bool, false)); in main()
155 BOOST_TEST(test("true", backwards_bool, true)); in main()
156 BOOST_TEST(test("eurt", backwards_bool(false))); in main()
157 BOOST_TEST(test("true", backwards_bool(true))); in main()
158 BOOST_TEST(test("eurt", backwards_bool(false), false)); in main()
159 BOOST_TEST(test("true", backwards_bool(true), true)); in main()
160 BOOST_TEST(!test("", backwards_bool(false), true)); in main()
161 BOOST_TEST(!test("", backwards_bool(true), false)); in main()
/third_party/boost/libs/spirit/example/qi/
Dreference.cpp900 bool_parser<bool, backwards_bool_policies> backwards_bool; in main() local
901 test_parser("true", backwards_bool); in main()
902 test_parser("eurt", backwards_bool); in main()
903 test_parser("true", backwards_bool(true)); in main()
904 test_parser("eurt", backwards_bool(false)); in main()
/third_party/boost/libs/spirit/doc/karma/
Dnumeric.qbk1262 backwards_bool_type const backwards_bool;
1264 karma::generate(sink, backwards_bool, true); // will output: true
1265 karma::generate(sink, backwards_bool(false)); // will output: uert