bsl::list::empty

Return true if this list has no elements, and false otherwise.

Synopsis

Declared in <bslstl_list.h>

bool
empty() const noexcept;