Mercurial > hg > vamp-build-and-test
annotate DEPENDENCIES/generic/include/boost/icl/detail/exclusive_less_than.hpp @ 133:4acb5d8d80b6 tip
Don't fail environmental check if README.md exists (but .txt and no-suffix don't)
author | Chris Cannam |
---|---|
date | Tue, 30 Jul 2019 12:25:44 +0100 |
parents | 2665513ce2d3 |
children |
rev | line source |
---|---|
Chris@16 | 1 /*-----------------------------------------------------------------------------+ |
Chris@16 | 2 Copyright (c) 2010-2010: Joachim Faulhaber |
Chris@16 | 3 +------------------------------------------------------------------------------+ |
Chris@16 | 4 Distributed under the Boost Software License, Version 1.0. |
Chris@16 | 5 (See accompanying file LICENCE.txt or copy at |
Chris@16 | 6 http://www.boost.org/LICENSE_1_0.txt) |
Chris@16 | 7 +-----------------------------------------------------------------------------*/ |
Chris@16 | 8 #ifndef BOOST_ICL_DETAIL_EXCLUSIVE_LESS_THAN_HPP_JOFA_100929 |
Chris@16 | 9 #define BOOST_ICL_DETAIL_EXCLUSIVE_LESS_THAN_HPP_JOFA_100929 |
Chris@16 | 10 |
Chris@16 | 11 #include <boost/icl/concept/interval.hpp> |
Chris@16 | 12 |
Chris@16 | 13 namespace boost{ namespace icl |
Chris@16 | 14 { |
Chris@16 | 15 |
Chris@16 | 16 /// Comparison functor on intervals implementing an overlap free less |
Chris@16 | 17 template <class IntervalT> |
Chris@16 | 18 struct exclusive_less_than |
Chris@16 | 19 { |
Chris@16 | 20 /** Operator <tt>operator()</tt> implements a strict weak ordering on intervals. */ |
Chris@16 | 21 bool operator()(const IntervalT& left, const IntervalT& right)const |
Chris@16 | 22 { |
Chris@16 | 23 return icl::non_empty::exclusive_less(left, right); |
Chris@16 | 24 } |
Chris@16 | 25 }; |
Chris@16 | 26 |
Chris@16 | 27 }} // namespace boost icl |
Chris@16 | 28 |
Chris@16 | 29 #endif |
Chris@16 | 30 |
Chris@16 | 31 |