BasicString.full

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

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

Examples

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

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

Meta