summaryrefslogtreecommitdiffstats
path: root/src/boost/libs/metaparse/example/getting_started/4.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/boost/libs/metaparse/example/getting_started/4.hpp')
-rw-r--r--src/boost/libs/metaparse/example/getting_started/4.hpp21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/boost/libs/metaparse/example/getting_started/4.hpp b/src/boost/libs/metaparse/example/getting_started/4.hpp
new file mode 100644
index 00000000..6fe2fc8f
--- /dev/null
+++ b/src/boost/libs/metaparse/example/getting_started/4.hpp
@@ -0,0 +1,21 @@
+#ifndef BOOST_METAPARSE_GETTING_STARTED_4_HPP
+#define BOOST_METAPARSE_GETTING_STARTED_4_HPP
+
+// Automatically generated header file
+
+// Definitions before section 3.3
+#include "3_3.hpp"
+
+// Definitions of section 3.3
+// query:
+// exp_parser2::apply<BOOST_METAPARSE_STRING("11 ")>::type
+
+#include <boost/metaparse/token.hpp>
+
+using exp_parser3 = build_parser<entire_input<token<int_>>>;
+
+// query:
+// exp_parser3::apply<BOOST_METAPARSE_STRING("11 ")>::type
+
+#endif
+