Function Vector.full

Returns whether the vector is full (i.e. whether its length is equal to maximalCapacity).

bool full() const pure nothrow @nogc @property scope @safe;

Examples

Vector!(int, 4, void) vec;  //FixedVector
assert(vec.empty);
assert(vec.maximalCapacity == vec.minimalCapacity);

vec.resize(vec.maximalCapacity);
assert(vec.full);