Function BasicString.full

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

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

Examples

BasicString!(char, 1, void) str;	//FixedString
assert(str.empty);
assert(str.minimalCapacity > 0);
assert(!str.full);

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