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

◆ size()

template<typename char_t , typename traits_t , typename allocator_t >
size_type xtd::basic_string< char_t, traits_t, allocator_t >::size ( ) const
inlinenoexcept

Returns the number of char_t elements in the string, i.e. std::distance(begin(), end()).

Returns
The number of char_t elements in the string.