...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Compare a string with the string.
template< std::size_t M> constexpr int compare( const basic_static_string< M, CharT, Traits >& s) const; »more...
template< std::size_t M> constexpr int compare( size_type pos1, size_type count1, const basic_static_string< M, CharT, Traits >& s) const; »more...
template< std::size_t M> constexpr int compare( size_type pos1, size_type count1, const basic_static_string< M, CharT, Traits >& s, size_type pos2, size_type count2 = npos) const; »more...
constexpr int compare( const_pointer s) const; »more...
constexpr int compare( size_type pos1, size_type count1, const_pointer s) const; »more...
constexpr int compare( size_type pos1, size_type count1, const_pointer s, size_type count2) const; »more...
template< [role red error.param neither has a declname nor a 'class ' prefix in the type][role red error.param neither has a declname nor a 'class ' prefix in the type][role red error.param neither has a declname nor a 'class ' prefix in the type][role red error.param neither has a declname nor a 'class ' prefix in the type]> constexpr int compare( const T& t) const; »more...
template< [role red error.param neither has a declname nor a 'class ' prefix in the type][role red error.param neither has a declname nor a 'class ' prefix in the type][role red error.param neither has a declname nor a 'class ' prefix in the type][role red error.param neither has a declname nor a 'class ' prefix in the type]> constexpr int compare( size_type pos1, size_type count1, const T& t) const; »more...
template< [role red error.param neither has a declname nor a 'class ' prefix in the type][role red error.param neither has a declname nor a 'class ' prefix in the type][role red error.param neither has a declname nor a 'class ' prefix in the type][role red error.param neither has a declname nor a 'class ' prefix in the type]> constexpr int compare( size_type pos1, size_type count1, const T& t, size_type pos2, size_type count2 = npos) const; »more...