Vector.full

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

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

Examples

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

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

Meta