basic_string::size

basic_string::size

size_type size() const;

The member function returns the length of the controlled sequence.

See the related sample program.