FastArrayRange

An equivalent of an array range, but which maintains a start and end pointer instead of a start pointer and length. This allows .popFront to be faster. Optionally, omits bounds checking for even more speed.

Constructors

this
this(T[] arr)
Undocumented in source.

Members

Functions

opIndex
T opIndex(size_t index)
Undocumented in source. Be warned that the author may not have intended to support it.
opSlice
T[] opSlice()
Undocumented in source. Be warned that the author may not have intended to support it.
opSlice
T[] opSlice(size_t from, size_t to)
Undocumented in source. Be warned that the author may not have intended to support it.
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
T 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

end
T* end;

Current head and end.

ptr
T* ptr;

Current head and end.

Meta