|template<typename TBidirectionalRange1 , typename TBidirectionalRange2 >|
|bool||operator() (const TBidirectionalRange1 &lhs, const TBidirectionalRange2 &rhs) const|
Checks if one range of elements colexicographically comes before another one.
This is a comparison functor suitable for storing Index and Offset instances in an STL container, and to check if those instances are in colexicographic ("Colex") order. The ordering is total and unique and typically (for example with Image<int,3>) correspond to the order in which the pixels, referred to by the Index or Offset instances, are stored in the image buffer.