FixedSizeArray.empty

Gives the length of the array.

struct FixedSizeArray(T, size_t Size = 32)
pragma(inline, true) @property const pure @nogc nothrow
bool
empty
()

Examples

FixedSizeArray!(int,32) fsa;
assert(fsa.empty);
assert(fsa.length == 0);

fsa.insertBack(1337);
fsa.insertBack(1338);

assert(fsa.length == 2);
assert(!fsa.empty);

Meta