1#include <boost/spirit/home/x3.hpp>
2
3namespace x3 = boost::spirit::x3;
4
5x3::rule<struct grammar_r, int> const grammar;
6using grammar_type = decltype(grammar);
7BOOST_SPIRIT_DECLARE(grammar_type)
8

source code of boost/libs/spirit/test/x3/grammar.hpp