]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | #ifndef BOOST_METAPARSE_V1_REPEATED_HPP |
2 | #define BOOST_METAPARSE_V1_REPEATED_HPP | |
3 | ||
4 | // Copyright Abel Sinkovics (abel@sinkovics.hu) 2009 - 2010. | |
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/foldl.hpp> | |
10 | #include <boost/metaparse/v1/impl/back_inserter.hpp> | |
11 | ||
12 | #include <boost/mpl/vector.hpp> | |
13 | ||
14 | namespace boost | |
15 | { | |
16 | namespace metaparse | |
17 | { | |
18 | namespace v1 | |
19 | { | |
20 | template <class P> | |
21 | struct repeated : foldl<P, boost::mpl::vector<>, impl::back_inserter> {}; | |
22 | } | |
23 | } | |
24 | } | |
25 | ||
26 | #endif | |
27 |