xtd 0.2.0
Loading...
Searching...
No Matches

◆ empty()

template<typename char_t , typename traits_t , typename allocator_t >
bool xtd::basic_string< char_t, traits_t, allocator_t >::empty ( ) const
inlinenoexcept

Checks if the string has no characters, i.e. whether begin() == end().

Returns
true if the string is empty; otherwise false.
Examples
test_forms.cpp.