bsl::slist::empty

Return true if this list contains no elements.

Synopsis

Declared in <bslstp_slist.h>

bool
empty() const;

Return Value

true if empty, and false otherwise