chsvlib
chsv helper source code

◆ operator<=()

bool operator<= ( const transforming_iterator< BaseIterator, TransformingFunctor > &  right) const

Checks if the current position of the left-hand-side iterator is to the left of the position of the parameter or the two positions match, i.e. whether the respective order of the corresponding adopted iterators holds.

Parameters
rightThe right-hand-side iterator to compare with.
Returns
The result of corresponding comparing of base iterators of this and right, i.e. true, if this->base() is less than or equal to right.base() as defined by the "&lt;=" operator.