Sequence.rangeGetMidpoint

Finds an iterator somewhere in the range (@begin, @end). This iterator will be close to the middle of the range, but is not guaranteed to be exactly in the middle.

The @begin and @end iterators must both point to the same sequence and @begin must come before or be equal to @end in the sequence.

class Sequence
static
rangeGetMidpoint

Parameters

begin SequenceIter

a #GSequenceIter

end SequenceIter

a #GSequenceIter

Return: a #GSequenceIter pointing somewhere in the (@begin, @end) range

Meta

Since

2.14