UniqueRange

Unique range (slice) owning its source of Source.

Copy construction is disabled, explicit copying is instead done through member .dup.

Constructors

this
this(Source source)

Construct from source.

Postblit

A postblit is present on this object, but not explicitly documented in the source.

Members

Functions

back
inout(E) back()

Back element.

backPop
E backPop()

Pop back element and return it.

dup
typeof(this) dup()
empty
bool empty()

Is true if range is empty.

front
inout(E) front()

Front element.

frontPop
E frontPop()

Pop front element and return it.

length
size_t length()
popBack
void popBack()

Pop back element.

popFront
void popFront()

Pop front element.

Meta