int compare( const sub_match& m ) const;
int compare( const string_type& s ) const;
int compare( const value_type* c ) const;
s. Equivalent to str().compare(c).
This function is infrequently used directly by application code. Instead, one of the non-member comparison operators are used.
|m||-||a pointer to another sub_match|
|s||-||a pointer to a string to compare to|
|c||-||a pointer to a null-terminated character sequence of the underlying value_type to compare to|
 Return value
A value less than zero if this sub_match is less than the other character sequence, zero if the both underlyinging character sequences are equal, greater than zero if this sub_match is greater than the other character sequence.
|This section is incomplete|
Reason: no example
 See also
| compares two strings |
(public member function of
| converts to the underlying string type |
(public member function)
| compares two |