/usr/include/boost/metaparse/v1
Edit: /usr/include/boost/metaparse/v1/transform.hpp (1330B)
#ifndef BOOST_METAPARSE_V1_TRANSFORM_HPP
#define BOOST_METAPARSE_V1_TRANSFORM_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
namespace boost
{
namespace metaparse
{
namespace v1
{
template
struct transform
{
private:
template
struct no_error :
accept<
typename T::template apply<
typename get_result >::type
>::type,
get_remaining >,
get_position >
>
{};
public:
typedef transform type;
template
struct apply :
unless_error, no_error >
{};
};
}
}
}
#endif