]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/metaparse/include/boost/metaparse/v1/impl/iterate_impl_unchecked.hpp
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / boost / libs / metaparse / include / boost / metaparse / v1 / impl / iterate_impl_unchecked.hpp
CommitLineData
7c673cae
FG
1#ifndef BOOST_METAPARSE_V1_IMPL_ITERATE_IMPL_UNCHECKED_HPP
2#define BOOST_METAPARSE_V1_IMPL_ITERATE_IMPL_UNCHECKED_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/fwd/iterate_impl.hpp>
10#include <boost/metaparse/v1/get_result.hpp>
11#include <boost/metaparse/v1/get_remaining.hpp>
12#include <boost/metaparse/v1/get_position.hpp>
13
14#include <boost/mpl/push_back.hpp>
15
16namespace boost
17{
18 namespace metaparse
19 {
20 namespace v1
21 {
22 namespace impl
23 {
24 template <int N, class P, class Accum, class S, class Pos>
25 struct iterate_impl_unchecked :
26 iterate_impl<
27 N - 1,
28 P,
29 typename boost::mpl::push_back<
30 Accum,
31 typename get_result<typename P::template apply<S, Pos> >::type
32 >::type
33 >::template apply<
34 typename get_remaining<typename P::template apply<S, Pos> >::type,
35 typename get_position<typename P::template apply<S, Pos> >::type
36 >
37 {};
38 }
39 }
40 }
41}
42
43#endif
44