core.stdcpp.vector

D header file for interaction with C++ std::vector.

Types 3

aliasvector(T) = vector!(T, allocator!T)
structvector(T, Alloc)
Methods
size_t[2] opSlice(size_t dim : 0)(size_t start, size_t end) const pure nothrow @safe @nogc
inout(T) opIndex(size_t index) ref inout pure nothrow @safe @nogc
inout(T)[] opIndex(size_t[2] slice) inout pure nothrow @safe @nogc
inout(T)[] opIndex() inout pure nothrow @safe @nogc
vector opAssign(U)(auto ref vector!(U, Alloc) s) ref
vector opAssign(T[] array) ref
void opIndexAssign()(auto ref T val, size_t index)
void opIndexAssign()(auto ref T val, size_t[2] slice)
void opIndexAssign(T[] val, size_t[2] slice)
void opIndexAssign()(auto ref T val)
void opIndexAssign(T[] val)
void opIndexOpAssign(string op)(auto ref T val, size_t index)
void opIndexOpAssign(string op)(auto ref T val, size_t[2] slice)
void opIndexOpAssign(string op)(T[] val, size_t[2] slice)
void opIndexOpAssign(string op)(auto ref T val)
void opIndexOpAssign(string op)(T[] val)
inout(T) front() ref inout pure nothrow @safe @nogc
inout(T) back() ref inout pure nothrow @safe @nogc
vector opOpAssign(string op : "~")(auto ref T item) ref
vector opOpAssign(string op : "~")(T[] array) ref
void append(T[] array)
bool opEquals(this This, That)(auto ref That rhs) if (is(immutable That == immutable vector))Performs elementwise equality check.
size_t toHash() constHash to allow `vector`s to be used as keys for built-in associative arrays. *The result will generally not be the same as C++ `std::hash<std::vector<T>>`.*
void push_back(U)(auto ref U element)
Constructors
this()MSVC allocates on default initialisation in debug, which can't be modelled by D `struct`

Variables 1

enumvarDefault = DefaultConstruct()

Constructor argument for default construction