diff options
author | DongHun Kwak <dh0128.kwak@samsung.com> | 2016-10-06 10:38:45 +0900 |
---|---|---|
committer | DongHun Kwak <dh0128.kwak@samsung.com> | 2016-10-06 10:39:52 +0900 |
commit | 5cde13f21d36c7224b0e13d11c4b49379ae5210d (patch) | |
tree | e8269ac85a4b0f7d416e2565fa4f451b5cb41351 /boost/metaparse/v1/impl/iterate_impl_unchecked.hpp | |
parent | d9ec475d945d3035377a0d89ed42e382d8988891 (diff) | |
download | boost-5cde13f21d36c7224b0e13d11c4b49379ae5210d.tar.gz boost-5cde13f21d36c7224b0e13d11c4b49379ae5210d.tar.bz2 boost-5cde13f21d36c7224b0e13d11c4b49379ae5210d.zip |
Imported Upstream version 1.61.0
Change-Id: I96a1f878d1e6164f01e9aadd5147f38fca448d90
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
Diffstat (limited to 'boost/metaparse/v1/impl/iterate_impl_unchecked.hpp')
-rw-r--r-- | boost/metaparse/v1/impl/iterate_impl_unchecked.hpp | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/boost/metaparse/v1/impl/iterate_impl_unchecked.hpp b/boost/metaparse/v1/impl/iterate_impl_unchecked.hpp new file mode 100644 index 0000000000..535cd379d9 --- /dev/null +++ b/boost/metaparse/v1/impl/iterate_impl_unchecked.hpp @@ -0,0 +1,44 @@ +#ifndef BOOST_METAPARSE_V1_IMPL_ITERATE_IMPL_UNCHECKED_HPP +#define BOOST_METAPARSE_V1_IMPL_ITERATE_IMPL_UNCHECKED_HPP + +// Copyright Abel Sinkovics (abel@sinkovics.hu) 2013. +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at +// http://www.boost.org/LICENSE_1_0.txt) + +#include <boost/metaparse/v1/impl/fwd/iterate_impl.hpp> +#include <boost/metaparse/v1/get_result.hpp> +#include <boost/metaparse/v1/get_remaining.hpp> +#include <boost/metaparse/v1/get_position.hpp> + +#include <boost/mpl/push_back.hpp> + +namespace boost +{ + namespace metaparse + { + namespace v1 + { + namespace impl + { + template <int N, class P, class Accum, class S, class Pos> + struct iterate_impl_unchecked : + iterate_impl< + N - 1, + P, + typename boost::mpl::push_back< + Accum, + typename get_result<typename P::template apply<S, Pos> >::type + >::type + >::template apply< + typename get_remaining<typename P::template apply<S, Pos> >::type, + typename get_position<typename P::template apply<S, Pos> >::type + > + {}; + } + } + } +} + +#endif + |