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) extern(D) const pure nothrow @safe @nogc
inout(T) opIndex(size_t index) ref extern(D) inout pure nothrow @safe @nogc
inout(T)[] opIndex(size_t[2] slice) extern(D) inout pure nothrow @safe @nogc
inout(T)[] opIndex() extern(D) inout pure nothrow @safe @nogc
vector opAssign(U)(auto ref vector!(U, Alloc) s) ref extern(D)
vector opAssign(T[] array) ref extern(D)
void opIndexAssign()(auto ref T val, size_t index) extern(D)
void opIndexAssign()(auto ref T val, size_t[2] slice) extern(D)
void opIndexAssign(T[] val, size_t[2] slice) extern(D)
void opIndexAssign()(auto ref T val) extern(D)
void opIndexAssign(T[] val) extern(D)
void opIndexOpAssign(string op)(auto ref T val, size_t index) extern(D)
void opIndexOpAssign(string op)(auto ref T val, size_t[2] slice) extern(D)
void opIndexOpAssign(string op)(T[] val, size_t[2] slice) extern(D)
void opIndexOpAssign(string op)(auto ref T val) extern(D)
void opIndexOpAssign(string op)(T[] val) extern(D)
inout(T) front() ref extern(D) inout pure nothrow @safe @nogc
inout(T) back() ref extern(D) inout pure nothrow @safe @nogc
vector opOpAssign(string op : "~")(auto ref T item) ref extern(D)
vector opOpAssign(string op : "~")(T[] array) ref extern(D)
void append(T[] array) extern(D)
bool opEquals(this This, That)(auto ref That rhs) if (is(immutable That == immutable vector)) extern(D)Performs elementwise equality check.
size_t toHash() extern(D) 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) extern(D)
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