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:
@@ -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>;
|
||||
|
||||
Reference in New Issue
Block a user