Mercurial > hg > vamp-build-and-test
comparison DEPENDENCIES/generic/include/boost/spirit/home/qi/directive/skip.hpp @ 101:c530137014c0
Update Boost headers (1.58.0)
author | Chris Cannam |
---|---|
date | Mon, 07 Sep 2015 11:12:49 +0100 |
parents | 2665513ce2d3 |
children |
comparison
equal
deleted
inserted
replaced
100:793467b5e61c | 101:c530137014c0 |
---|---|
24 #include <boost/spirit/home/support/info.hpp> | 24 #include <boost/spirit/home/support/info.hpp> |
25 #include <boost/spirit/home/support/has_semantic_action.hpp> | 25 #include <boost/spirit/home/support/has_semantic_action.hpp> |
26 #include <boost/spirit/home/support/handles_container.hpp> | 26 #include <boost/spirit/home/support/handles_container.hpp> |
27 #include <boost/fusion/include/at.hpp> | 27 #include <boost/fusion/include/at.hpp> |
28 #include <boost/fusion/include/vector.hpp> | 28 #include <boost/fusion/include/vector.hpp> |
29 #include <boost/utility/enable_if.hpp> | |
29 | 30 |
30 namespace boost { namespace spirit | 31 namespace boost { namespace spirit |
31 { | 32 { |
32 /////////////////////////////////////////////////////////////////////////// | 33 /////////////////////////////////////////////////////////////////////////// |
33 // Enablers | 34 // Enablers |
73 reskip_parser(Subject const& subject_) | 74 reskip_parser(Subject const& subject_) |
74 : subject(subject_) {} | 75 : subject(subject_) {} |
75 | 76 |
76 template <typename Iterator, typename Context | 77 template <typename Iterator, typename Context |
77 , typename Skipper, typename Attribute> | 78 , typename Skipper, typename Attribute> |
78 bool parse(Iterator& first, Iterator const& last | 79 typename enable_if<detail::is_unused_skipper<Skipper>, bool>::type |
80 parse(Iterator& first, Iterator const& last | |
79 , Context& context, Skipper const& u // --> The skipper is reintroduced | 81 , Context& context, Skipper const& u // --> The skipper is reintroduced |
80 , Attribute& attr_) const | 82 , Attribute& attr_) const |
81 { | 83 { |
82 return subject.parse(first, last, context | 84 return subject.parse(first, last, context |
83 , detail::get_skipper(u), attr_); | 85 , detail::get_skipper(u), attr_); |
86 } | |
87 template <typename Iterator, typename Context | |
88 , typename Skipper, typename Attribute> | |
89 typename disable_if<detail::is_unused_skipper<Skipper>, bool>::type | |
90 parse(Iterator& first, Iterator const& last | |
91 , Context& context, Skipper const& skipper | |
92 , Attribute& attr_) const | |
93 { | |
94 return subject.parse(first, last, context | |
95 , skipper, attr_); | |
84 } | 96 } |
85 | 97 |
86 template <typename Context> | 98 template <typename Context> |
87 info what(Context& context) const | 99 info what(Context& context) const |
88 { | 100 { |