int compare( const basic_string& str ) const; (1) int compare( size_type pos1, size_type count1,
const basic_string& str ) const; (2) (3) int compare( size_type pos1, size_type count1,
const basic_string& str,
size_type pos2, size_type count2 ) const; (until C++14) int compare( size_type pos1, size_type count1,
const basic_string& str,
size_type pos2, size_type count2 = npos ) const; (since C