std::basic_string::empty
From cppreference.com
< cpp | string | basic string
| bool empty() const;
| ||
Checks if the string has no characters, i.e. whether begin() == end().
Contents |
[edit] Parameters
(none)
[edit] Return value
true if the string is empty, false otherwise
[edit] Complexity
Constant
[edit] See also
| returns the number of characters (public member function) | |
| returns the length of the string (public member function) | |