2
0
mirror of https://github.com/boostorg/parser.git synced 2026-01-26 18:52:23 +00:00

Effectively constrain all the parser templates by enforcing their use of

Spirit's position_iterator<>.  Also, give each parser a "_t" suffix.
This commit is contained in:
Zach Laine
2017-05-07 15:08:34 -05:00
parent 1bd2eb7d36
commit 2b69ae79c8
16 changed files with 205 additions and 219 deletions

View File

@@ -10,10 +10,5 @@
#include <fstream>
#include <string>
#include <boost/spirit/include/classic_position_iterator.hpp>
typedef std::string::const_iterator base_iterator_type;
typedef boost::spirit::classic::position_iterator<base_iterator_type>
iterator_type;
template struct yaml::parser::basic_structures<iterator_type>;
typedef std::string::const_iterator char_iterator_t;
template struct yaml::parser::basic_structures_t<char_iterator_t>;