bsl::basic_string<char>::empty

Return true if this string has length 0, and false otherwise.

Synopsis

Declared in <bslstl_string.h>

bool
empty() const noexcept;