/usr/include/boost/metaparse/v1/impl
Edit: /usr/include/boost/metaparse/v1/impl/apply_parser.hpp (1611B)
#ifndef BOOST_METAPARSE_V1_IMPL_APPLY_PARSER_HPP
#define BOOST_METAPARSE_V1_IMPL_APPLY_PARSER_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
#include
#include
#include
#include
#include
namespace boost
{
namespace metaparse
{
namespace v1
{
namespace impl
{
struct apply_parser
{
private:
template
struct do_append
{
template
struct apply : boost::mpl::push_back {};
};
template
struct apply_unchecked :
transform >::template apply<
typename S::type,
typename Pos::type
>
{};
public:
template
struct apply :
unless_error<
State,
apply_unchecked<
get_result,
get_remaining,
get_position,
Parser
>
>
{};
};
}
}
}
}
#endif