Mercurial > hg > vamp-build-and-test
comparison DEPENDENCIES/generic/include/boost/icl/detail/exclusive_less_than.hpp @ 16:2665513ce2d3
Add boost headers
author | Chris Cannam |
---|---|
date | Tue, 05 Aug 2014 11:11:38 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
15:663ca0da4350 | 16:2665513ce2d3 |
---|---|
1 /*-----------------------------------------------------------------------------+ | |
2 Copyright (c) 2010-2010: 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_DETAIL_EXCLUSIVE_LESS_THAN_HPP_JOFA_100929 | |
9 #define BOOST_ICL_DETAIL_EXCLUSIVE_LESS_THAN_HPP_JOFA_100929 | |
10 | |
11 #include <boost/icl/concept/interval.hpp> | |
12 | |
13 namespace boost{ namespace icl | |
14 { | |
15 | |
16 /// Comparison functor on intervals implementing an overlap free less | |
17 template <class IntervalT> | |
18 struct exclusive_less_than | |
19 { | |
20 /** Operator <tt>operator()</tt> implements a strict weak ordering on intervals. */ | |
21 bool operator()(const IntervalT& left, const IntervalT& right)const | |
22 { | |
23 return icl::non_empty::exclusive_less(left, right); | |
24 } | |
25 }; | |
26 | |
27 }} // namespace boost icl | |
28 | |
29 #endif | |
30 | |
31 |