CyclicRange

Undocumented in source.

Members

Functions

dup
CyclicRange!T dup()
Undocumented in source. Be warned that the author may not have intended to support it.

Mixins

__anonymous
mixin CyclicRangePrimitives!T
Undocumented in source.

Variables

array
T[] array;
size
size_t size;
Undocumented in source.
start
size_t start;
Undocumented in source.

Mixed In Members

From mixin CyclicRangePrimitives!T

capacity
size_t capacity()
Undocumented in source.
length
size_t length()
Undocumented in source.
put
void put(T val)
Undocumented in source. Be warned that the author may not have intended to support it.
put
void put(T val)
void put(T[n] rhs)
void put(Range rhs)
opOpAssign
alias opOpAssign(string op : "~") = put

ditto

insertBack
alias insertBack = put
Undocumented in source.
stableInsertBack
alias stableInsertBack = insertBack
Undocumented in source.
insertFront
void insertFront(T val)
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.
save
auto save()
Undocumented in source. Be warned that the author may not have intended to support it.
empty
bool empty()
Undocumented in source. Be warned that the author may not have intended to support it.
front
auto ref front()
Undocumented in source. Be warned that the author may not have intended to support it.
popBack
void popBack()
Undocumented in source. Be warned that the author may not have intended to support it.
back
auto ref back()
Undocumented in source. Be warned that the author may not have intended to support it.
back
auto back()
Undocumented in source. Be warned that the author may not have intended to support it.
opDollar
size_t opDollar()
Undocumented in source. Be warned that the author may not have intended to support it.
opIndex
inout(T) opIndex(size_t v)
Undocumented in source. Be warned that the author may not have intended to support it.
opIndex
auto opIndex()
Undocumented in source. Be warned that the author may not have intended to support it.
opIndex
auto opIndex(size_t[2] range)
Undocumented in source. Be warned that the author may not have intended to support it.
opIndexUnary
void opIndexUnary()
Undocumented in source. Be warned that the author may not have intended to support it.
opIndexUnary
auto opIndexUnary(size_t i)
Undocumented in source. Be warned that the author may not have intended to support it.
opIndexUnary
void opIndexUnary(size_t[2] range)
Undocumented in source. Be warned that the author may not have intended to support it.
opIndexAssign
void opIndexAssign(U val)
Undocumented in source. Be warned that the author may not have intended to support it.
opIndexAssign
void opIndexAssign(U val, size_t i)
Undocumented in source. Be warned that the author may not have intended to support it.
opIndexAssign
void opIndexAssign(U val, size_t[2] range)
Undocumented in source. Be warned that the author may not have intended to support it.
opIndexOpAssign
void opIndexOpAssign(U val)
Undocumented in source. Be warned that the author may not have intended to support it.
opIndexOpAssign
void opIndexOpAssign(U val, size_t i)
Undocumented in source. Be warned that the author may not have intended to support it.
opIndexOpAssign
void opIndexOpAssign(U val, size_t[2] range)
Undocumented in source. Be warned that the author may not have intended to support it.
moveFront
T moveFront()
Undocumented in source. Be warned that the author may not have intended to support it.
moveBack
T moveBack()
Undocumented in source. Be warned that the author may not have intended to support it.
moveAt
T moveAt(size_t i)
Undocumented in source. Be warned that the author may not have intended to support it.
opSlice
size_t[2] opSlice()
Undocumented in source. Be warned that the author may not have intended to support it.
opSlice
size_t[2] opSlice(size_t from, size_t to)
Undocumented in source. Be warned that the author may not have intended to support it.
removeAny
T removeAny()

Removes the last element from the array and returns it. Both stable and non-stable versions behave the same and guarantee that ranges iterating over the array are never invalidated.

stableRemoveAny
alias stableRemoveAny = removeAny
Undocumented in source.
removeBack
void removeBack()
stableRemoveBack
alias stableRemoveBack = removeBack

Removes the value from the back of the array. Both stable and non-stable versions behave the same and guarantee that ranges iterating over the array are never invalidated.

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

Meta