Return true if the vector contains no elements.

Synopsis

Declared in <llvm/ADT/SmallVector.h>

[[nodiscard]]
bool
empty() const;

Return Value

True if the vector contains no elements.

Note

The return value should not be discarded.

Created with MrDocs