Standard C++ Library Reference ISO/IEC (VERSION3)

traits_type::compare), or if the two have a common prefix but the operand
sequence is longer
zero if the two compare equal element by element and are the same length
a positive value otherwise
basic_string::const_iterator
typedef T1 const_iterator;
The type describes an object that can serve as a constant random-access iterator for the controlled
sequence. It is described here as a synonym for the implementation-defined type T1.
basic_string::const_pointer
typedef typename allocator_type::const_pointer
const_pointer;
The type is a synonym for allocator_type::const_pointer.
basic_string::const_reference
typedef typename allocator_type::const_reference
const_reference;
The type is a synonym for allocator_type::const_reference.
basic_string::const_reverse_iterator
typedef reverse_iterator<const_iterator>
const_reverse_iterator;
The type describes an object that can serve as a constant reverse iterator for the controlled
sequence.
basic_string::copy
size_type copy(value_type *ptr, size_type count,
size_type off = 0) const;
The member function copies up to count elements from the controlled sequence, beginning at
position off, to the array of value_type beginning at ptr. It returns the number of elements
actually copied.