Functions | |
template<typename ForwardIterator1 , typename ForwardIterator2 > | |
ForwardIterator1 | skipElementsUsingIteration (ForwardIterator1 iterator, ForwardIterator2 beginning, ForwardIterator2 end) |
Advance the iterator while it's value is equal to any of the elements in the range. Return the advanced iterator. | |
template<typename ForwardIterator , typename IteratorForwardIterator > | |
ForwardIterator | skipIteratorsUsingIteration (ForwardIterator iterator, IteratorForwardIterator beginning, IteratorForwardIterator end) |
Advance the iterator while it is equal to any of the elements in the range. Return the advanced iterator. |
ForwardIterator1 skipElementsUsingIteration | ( | ForwardIterator1 | iterator, | |
ForwardIterator2 | beginning, | |||
ForwardIterator2 | end | |||
) | [inline] |
Advance the iterator while it's value is equal to any of the elements in the range. Return the advanced iterator.
This function uses iteration to skip the elements. This is only efficient if the the size of the sequence [beginning .. end) is small.
ForwardIterator skipIteratorsUsingIteration | ( | ForwardIterator | iterator, | |
IteratorForwardIterator | beginning, | |||
IteratorForwardIterator | end | |||
) | [inline] |
Advance the iterator while it is equal to any of the elements in the range. Return the advanced iterator.
This function uses iteration to skip the elements. This is only efficient if the the size of the sequence [beginning .. end) is small.