/usr/include/boost/metaparse/v1
Edit: /usr/include/boost/metaparse/v1/build_parser.hpp (1844B)
#ifndef BOOST_METAPARSE_V1_BUILD_PARSER_HPP
#define BOOST_METAPARSE_V1_BUILD_PARSER_HPP
// Copyright Abel Sinkovics (abel@sinkovics.hu) 2009 - 2010.
// 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
#include
#include
#include
#include
namespace boost
{
namespace metaparse
{
namespace v1
{
template
struct x__________________PARSING_FAILED__________________x
{
BOOST_STATIC_ASSERT(Line == Line + 1);
};
template
struct parsing_failed :
x__________________PARSING_FAILED__________________x<
get_line<
get_position >
>::type::value,
get_col<
get_position >
>::type::value,
typename get_message >::type
>
{};
template
struct build_parser
{
typedef build_parser type;
template
struct apply :
boost::mpl::eval_if<
typename is_error >::type,
parsing_failed,
get_result >
>
{};
};
}
}
}
#endif