Vector

Undocumented in source.

Constructors

this
this(T t)
Undocumented in source.
this
this(X[] t)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Postblit

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

Public Imports

std.format
public import std.format : FormatSpec, formatValue;

Members

Functions

add
void add(T t)
Undocumented in source. Be warned that the author may not have intended to support it.
add
void add(T t, size_t pos)

Add element at given position moving others

add
void add(X[] t)
Undocumented in source. Be warned that the author may not have intended to support it.
canAddWithoutRealloc
bool canAddWithoutRealloc(uint elemNum)
Undocumented in source. Be warned that the author may not have intended to support it.
capacity
size_t capacity()
Undocumented in source. Be warned that the author may not have intended to support it.
clear
void clear()
Undocumented in source. Be warned that the author may not have intended to support it.
copy
Vector!T copy()
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.
extend
void extend(size_t newNumOfElements)
Undocumented in source. Be warned that the author may not have intended to support it.
freeData
void freeData(void[] data)
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.
length
void length(size_t newLength)
Undocumented in source. Be warned that the author may not have intended to support it.
opAssign
void opAssign(X[] slice)
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.
opEquals
bool opEquals(Vector!(T) r)
Undocumented in source. Be warned that the author may not have intended to support it.
opIndex
T opIndex(size_t elemNum)
Undocumented in source. Be warned that the author may not have intended to support it.
opIndexAssign
void opIndexAssign(T obj, size_t elemNum)
Undocumented in source. Be warned that the author may not have intended to support it.
opOpAssign
void opOpAssign(T obj)
Undocumented in source. Be warned that the author may not have intended to support it.
opOpAssign
void opOpAssign(X[] obj)
Undocumented in source. Be warned that the author may not have intended to support it.
opSlice
auto opSlice()
Undocumented in source. Be warned that the author may not have intended to support it.
opSlice
T[] opSlice(size_t x, size_t y)
Undocumented in source. Be warned that the author may not have intended to support it.
opSliceAssign
void opSliceAssign(T[] obj, size_t a, size_t b)
Undocumented in source. Be warned that the author may not have intended to support it.
remove
void remove(size_t elemNum)
Undocumented in source. Be warned that the author may not have intended to support it.
removeAll
void removeAll()
Undocumented in source. Be warned that the author may not have intended to support it.
removeElement
void removeElement(T elem)
Undocumented in source. Be warned that the author may not have intended to support it.
removeStable
void removeStable(size_t elemNum)
Undocumented in source. Be warned that the author may not have intended to support it.
reserve
void reserve(size_t numElements)
Undocumented in source. Be warned that the author may not have intended to support it.
reset
void reset()
Undocumented in source. Be warned that the author may not have intended to support it.
toHash
size_t toHash()
Undocumented in source. Be warned that the author may not have intended to support it.
toString
void toString(void delegate(const(char)[]) sink, FormatSpec!char fmt)

Preety print

tryRemoveElement
bool tryRemoveElement(T elem)
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

manualExtend
void[] manualExtend(T[] array, size_t newNumOfElements)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

array
T[] array;
Undocumented in source.
used
size_t used;
Undocumented in source.

Meta