NiHu  2.0
tmp::merge_intervals< Inter1, Inter2 >::copy_cond< Iter, Begin > Struct Template Reference

Copy condition when zipping an interval. More...

#include <interval.hpp>

Public Types

typedef tmp::deref< typename tmp::prev< Iter >::type >::type prev
 previous element
 
typedef tmp::deref< Iter >::type cur
 current element
 
typedef std::integral_constant< bool, std::ratio_greater< typename cur::x, typename prev::x >::type::value &&tmp::less< typename cur::y, typename prev::y >::type::value > type
 copy if cur.x > prev.x and cur.y < prev.y
 

Detailed Description

template<class Inter1, class Inter2>
template<class Iter, class Begin>
struct tmp::merge_intervals< Inter1, Inter2 >::copy_cond< Iter, Begin >

Copy condition when zipping an interval.

Template Parameters
IterThe iterator pointing to the source element
BeginTterator pointing to the first element

Definition at line 98 of file interval.hpp.


The documentation for this struct was generated from the following file: