mirror of
https://github.com/boostorg/parser.git
synced 2026-01-26 18:52:23 +00:00
Add parsers implementing Basic Structures section.
This commit is contained in:
19
test/basic_structures.cpp
Normal file
19
test/basic_structures.cpp
Normal file
@@ -0,0 +1,19 @@
|
||||
/**
|
||||
* Copyright (C) 2017 Zach Laine
|
||||
*
|
||||
* Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||
* file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
*/
|
||||
|
||||
#include <yaml/parser/basic_structures_def.hpp>
|
||||
#include <iostream>
|
||||
#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 omd::yaml::parser::basic_structures<iterator_type>;
|
||||
Reference in New Issue
Block a user