Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:38:19

0001 /*-----------------------------------------------------------------------------+
0002 Copyright (c) 2010-2010: Joachim Faulhaber
0003 +------------------------------------------------------------------------------+
0004    Distributed under the Boost Software License, Version 1.0.
0005       (See accompanying file LICENCE.txt or copy at
0006            http://www.boost.org/LICENSE_1_0.txt)
0007 +-----------------------------------------------------------------------------*/
0008 #ifndef BOOST_ICL_DETAIL_EXCLUSIVE_LESS_THAN_HPP_JOFA_100929
0009 #define BOOST_ICL_DETAIL_EXCLUSIVE_LESS_THAN_HPP_JOFA_100929
0010 
0011 #include <boost/icl/concept/interval.hpp>
0012 
0013 namespace boost{ namespace icl
0014 {
0015 
0016 /// Comparison functor on intervals implementing an overlap free less 
0017 template <class IntervalT>
0018 struct exclusive_less_than 
0019 {
0020     /** Operator <tt>operator()</tt> implements a strict weak ordering on intervals. */
0021     bool operator()(const IntervalT& left, const IntervalT& right)const
0022     { 
0023         return icl::non_empty::exclusive_less(left, right); 
0024     }
0025 };
0026 
0027 }} // namespace boost icl
0028 
0029 #endif
0030 
0031