Dvector

Undocumented in source.

Constructors

this
this(T* chunks, size_t total, size_t capacity)
Undocumented in source.

Members

Aliases

pBack
alias pBack = pushBack
Undocumented in source.

Functions

allocIfneeded
void allocIfneeded()
Undocumented in source. Be warned that the author may not have intended to support it.
free
void free()
Undocumented in source. Be warned that the author may not have intended to support it.
insert
void insert(T elem, size_t position)
Undocumented in source. Be warned that the author may not have intended to support it.
length
size_t length()
Undocumented in source. Be warned that the author may not have intended to support it.
opApply
int opApply(int delegate(ref T) @(nogc) nothrow dg)
Undocumented in source. Be warned that the author may not have intended to support it.
opApply
int opApply(int delegate(size_t i, ref T) @(nogc) nothrow dg)
Undocumented in source. Be warned that the author may not have intended to support it.
opApply
int opApply(int delegate(ref T) dg)
Undocumented in source. Be warned that the author may not have intended to support it.
opApply
int opApply(int delegate(size_t i, ref T) dg)
Undocumented in source. Be warned that the author may not have intended to support it.
opBinary
Dvector!T opBinary(Dvector!T rhs)
Undocumented in source. Be warned that the author may not have intended to support it.
opBinary
Dvector!T opBinary(T rhs)
Undocumented in source. Be warned that the author may not have intended to support it.
opIndex
T opIndex(size_t i)
Undocumented in source. Be warned that the author may not have intended to support it.
opIndexAssign
void opIndexAssign(T elem, size_t i)
Undocumented in source. Be warned that the author may not have intended to support it.
opOpAssign
Dvector!T opOpAssign(Dvector!T rhs)
Undocumented in source. Be warned that the author may not have intended to support it.
opOpAssign
Dvector!T opOpAssign(T rhs)
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.
popFront
void popFront()
Undocumented in source. Be warned that the author may not have intended to support it.
pushBack
void pushBack(T elem)
Undocumented in source. Be warned that the author may not have intended to support it.
pushFront
void pushFront(T elem)
Undocumented in source. Be warned that the author may not have intended to support it.
remove
void remove(size_t index)
Undocumented in source. Be warned that the author may not have intended to support it.
resize
void resize(size_t capacity)
Undocumented in source. Be warned that the author may not have intended to support it.
save
Dvector!T save()

!!! WARNING !!! Use it carefully with the standard library. Be sure that the standard library functions don't implicitly copy it. But, it is Ok if the standard library functions return a handle of copied range so that you can free it manually. Otherwise, you leak memory.

slice
T[] slice()
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

back
T back [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
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.

Variables

capacity
size_t capacity;
Undocumented in source.
total
size_t total;
Undocumented in source.

Meta