1 /*-----------------------------------------------------------------------------+
2 Copyright (c) 2011-2011: Joachim Faulhaber
3 +------------------------------------------------------------------------------+
4 Distributed under the Boost Software License, Version 1.0.
5 (See accompanying file LICENCE.txt or copy at
6 http://www.boost.org/LICENSE_1_0.txt)
7 +-----------------------------------------------------------------------------*/
8 #ifndef BOOST_ICL_TYPE_TRAITS_IS_INCREASING_HPP_JOFA_110416
9 #define BOOST_ICL_TYPE_TRAITS_IS_INCREASING_HPP_JOFA_110416
13 namespace boost{ namespace icl
16 template <class DomainT, class Compare>
19 typedef is_increasing type;
20 BOOST_STATIC_CONSTANT(bool, value = true);
23 template <class DomainT>
24 struct is_increasing<DomainT, std::greater<DomainT> >
26 typedef is_increasing type;
27 BOOST_STATIC_CONSTANT(bool, value = false);
30 }} // namespace boost icl