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

this(this)
this(this)
Undocumented in source.

Members

Aliases

E
alias E = ElementType!SourceRange
Undocumented in source.
SourceRange
alias SourceRange = typeof(Source.init[])
Undocumented in source.
stealBack
alias stealBack = backPop
Undocumented in source.
stealFront
alias stealFront = frontPop
Undocumented in source.

Functions

backPop
E backPop()

Pop back element and return it.

frontPop
E frontPop()

Pop front element and return it.

popBack
void popBack()

Pop back element.

popFront
void popFront()

Pop front element.

Properties

back
inout(E) back [@property getter]

Back element.

dup
typeof(this) dup [@property getter]
empty
bool empty [@property getter]

Is true if range is empty.

front
inout(E) front [@property getter]

Front element.

length
size_t length [@property getter]

Meta