Lexicographically compare this string with another sequence.
Declared in <bslstl_string.h>
template<class STRING_VIEW_LIKE_TYPE>
int
compare(STRING_VIEW_LIKE_TYPE const& other) const noexcept(true);
negative, zero, or positive according to the lexicographic order
| Name | Description |
|---|---|
| other | string or character sequence to compare or use |