6 #ifndef SPIRIT_PO_DEFAULT_PLURAL_FORMS_COMPILER_HPP_INCLUDED
7 #define SPIRIT_PO_DEFAULT_PLURAL_FORMS_COMPILER_HPP_INCLUDED
64 #ifndef BOOST_SPIRIT_USE_PHOENIX_V3
65 #define BOOST_SPIRIT_USE_PHOENIX_V3
70 #include <boost/optional/optional.hpp>
71 #include <boost/spirit/include/qi.hpp>
76 namespace qi = boost::spirit::qi;
77 typedef unsigned int uint;
79 namespace default_plural_forms {
103 typedef std::string::const_iterator str_it;
104 str_it it = str.begin();
105 str_it end = str.end();
106 op_grammar<str_it> grammar;
108 if (qi::phrase_parse(it, end, grammar, qi::space,
e) && it == end) {
std::string string_iterator_context(const std::string &str, std::string::const_iterator it)
static map_location::direction n
static map_location::direction s