1 #ifndef BOOST_METAPARSE_V1_UTIL_IN_RANGE_C_HPP
2 #define BOOST_METAPARSE_V1_UTIL_IN_RANGE_C_HPP
4 // Copyright Abel Sinkovics (abel@sinkovics.hu) 2014.
5 // Distributed under the Boost Software License, Version 1.0.
6 // (See accompanying file LICENSE_1_0.txt or copy at
7 // http://www.boost.org/LICENSE_1_0.txt)
9 #include <boost/mpl/bool.hpp>
19 template <class T, T LowerBound, T UpperBound>
22 typedef in_range_c type;
27 LowerBound <= Item::type::value
28 && Item::type::value <= UpperBound