GroupSequence

Similarly to uniq, group iterates consecutive elements of the given range. The element type is Tuple!(ElementType!R, uint) because it includes the count of grouped elements seen. Elements are grouped by assessing using the predicate pred, by default "a == b". The predicate is called for pairs of neighboring elements.

Group is an input range if R is an input range, and a forward range in all other cases.

Constructors

this
this(R input)
Undocumented in source.

Members

Functions

popFront
void popFront()
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

empty
bool empty [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
front
Tuple!(ElementType!R, uint) front [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
save
typeof(this) save [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

empty
enum bool empty;
Undocumented in source.

Meta