Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions mapbox/boost_spirit_karma.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,21 @@
#ifndef MAPBOX_BOOST_SPIRIT_KARMA_HPP
#define MAPBOX_BOOST_SPIRIT_KARMA_HPP


#ifdef BOOST_SPIRIT_GENERATOR_JANUARY_13_2009_1002AM
#error "ERROR file must be included before boost spirit karma"
#endif


#include <mapbox/variant.hpp>

namespace boost { using mapbox::util::get; }

#include <mapbox/detail/boost_spirit_attributes.hpp>
#include <boost/spirit/include/karma.hpp>

#ifndef BOOST_SPIRIT_GENERATOR_JANUARY_13_2009_1002AM
#error "ERROR include guard for boost spirit karma has changed!"
#endif

#endif
10 changes: 10 additions & 0 deletions mapbox/boost_spirit_qi.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
#ifndef MAPBOX_BOOST_SPIRIT_QI_HPP
#define MAPBOX_BOOST_SPIRIT_QI_HPP


#ifdef BOOST_SPIRIT_PARSER_OCTOBER_16_2008_0254PM
#error "ERROR file must be included before boost spirit qi"
#endif

#include <mapbox/detail/boost_spirit_attributes.hpp>

#include <boost/spirit/include/qi_alternative.hpp>
Expand All @@ -22,4 +27,9 @@ namespace boost { namespace spirit { namespace qi { namespace detail
}}}}


#include <boost/spirit/include/qi.hpp>
#ifndef BOOST_SPIRIT_PARSER_OCTOBER_16_2008_0254PM
#error "ERROR include guard for boost spirit qi has changed!"
#endif

#endif