]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | #ifndef BOOST_METAPARSE_V1_IMPL_SEQUENCE_IMPL_HPP |
2 | #define BOOST_METAPARSE_V1_IMPL_SEQUENCE_IMPL_HPP | |
3 | ||
4 | // Copyright Abel Sinkovics (abel@sinkovics.hu) 2013. | |
5 | // Distributed under the Boost Software License, Version 1.0. | |
6 | // (See accompanying file LICENSE_1_0.txt or copy at | |
7 | // http://www.boost.org/LICENSE_1_0.txt) | |
8 | ||
9 | #include <boost/metaparse/v1/impl/apply_parser.hpp> | |
10 | #include <boost/metaparse/v1/accept.hpp> | |
11 | ||
12 | #include <boost/mpl/deque.hpp> | |
13 | #include <boost/mpl/fold.hpp> | |
14 | ||
15 | namespace boost | |
16 | { | |
17 | namespace metaparse | |
18 | { | |
19 | namespace v1 | |
20 | { | |
21 | namespace impl | |
22 | { | |
23 | template <class Ps, class S, class Pos> | |
24 | struct sequence_impl : | |
25 | boost::mpl::fold< | |
26 | Ps, | |
27 | accept<boost::mpl::deque<>, S, Pos>, | |
28 | apply_parser | |
29 | > | |
30 | {}; | |
31 | } | |
32 | } | |
33 | } | |
34 | } | |
35 | ||
36 | #endif | |
37 |