basic_string::length

basic_string::length

size_type length() const;

The member function returns the length of the controlled sequence (same as size()).