/usr/include/boost/metaparse/v1/util
Edit: /usr/include/boost/metaparse/v1/util/in_range.hpp (2007B)
#ifndef BOOST_METAPARSE_V1_UTIL_IN_RANGE_HPP
#define BOOST_METAPARSE_V1_UTIL_IN_RANGE_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
namespace boost
{
namespace metaparse
{
namespace v1
{
namespace util
{
template <
class LowerBound = boost::mpl::na,
class UpperBound = boost::mpl::na,
class Item = boost::mpl::na
>
struct in_range :
boost::mpl::bool_<
boost::mpl::less_equal::type::value
&& boost::mpl::less_equal- ::type::value
>
{};
template
struct in_range
{
typedef in_range type;
template
struct apply : in_range {};
};
template
struct in_range
{
typedef in_range type;
template <
class UpperBound = boost::mpl::na,
class Item = boost::mpl::na
>
struct apply : in_range {};
};
template <>
struct in_range
{
typedef in_range type;
template <
class LowerBound = boost::mpl::na,
class UpperBound = boost::mpl::na,
class Item = boost::mpl::na
>
struct apply : in_range {};
};
}
}
}
}
#endif