Searched refs:test_int_data2 (Results 1 – 3 of 3) sorted by relevance
/third_party/boost/libs/spirit/test/qi/ |
D | attribute2.cpp | 69 struct test_int_data2 struct 79 struct transform_attribute<test_int_data2, int, qi::domain> argument 82 static int& pre(test_int_data2& d) { return d.i; } in pre() 83 static void post(test_int_data2&, int const&) {} in post() 84 static void fail(test_int_data2&) {} in fail() 134 test_int_data2 d = { 0 }; in main() 137 BOOST_TEST(test_attr("2", qi::attr_cast<test_int_data2>(qi::int_), d)); in main() 139 BOOST_TEST(test_attr("3", qi::attr_cast<test_int_data2, int>(qi::int_), d)); in main() 144 std::vector<test_int_data2> v; in main() 151 , qi::attr_cast<test_int_data2>(qi::int_) % ',', v)); in main() [all …]
|
D | attribute1.cpp | 69 struct test_int_data2 struct 79 struct transform_attribute<test_int_data2, int, qi::domain> argument 82 static int& pre(test_int_data2& d) { return d.i; } in pre() 83 static void post(test_int_data2&, int const&) {} in post() 84 static void fail(test_int_data2&) {} in fail()
|
/third_party/boost/libs/spirit/test/karma/ |
D | attribute.cpp | 65 struct test_int_data2 struct 74 struct transform_attribute<test_int_data2 const, int, karma::domain> argument 77 static int const& pre(test_int_data2 const& d) { return d.i; } in pre() 165 test_int_data2 d = { 1 }; in main() 167 BOOST_TEST(test("1", karma::attr_cast<test_int_data2>(karma::int_), d)); in main() 168 BOOST_TEST(test("1", karma::attr_cast<test_int_data2, int>(karma::int_), d)); in main() 172 test_int_data2 d[] = {{ 1 }, { 2 }}; in main() 173 std::vector<test_int_data2> v; in main() 179 , karma::attr_cast<test_int_data2>(karma::int_) % ',', v)); in main() 181 , karma::attr_cast<test_int_data2, int>(karma::int_) % ',', v)); in main() [all …]
|