License
Distributed under the
Boost Software License 1.0. (See accompanying file LICENSE)
D header file for interaction with C++ std::vector.
Boost Software License 1.0. (See accompanying file LICENSE)
size_t[2] opSlice(size_t dim : 0)(size_t start, size_t end) extern(D) const pure nothrow @safe @nogcvoid 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)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>>`.*this()MSVC allocates on default initialisation in debug, which can't be modelled by D `struct`Default = DefaultConstruct()Constructor argument for default construction