Home | Libraries | People | FAQ | More |
Compare the string with another.
BOOST_STATIC_STRING_CPP14_CONSTEXPR int compare( size_type pos1, size_type count1, const_pointer s) const;
Compares a [pos1, pos1+count1)
substring of this string to the null-terminated
character sequence beginning at the character pointed to by s
with length traits_type::length(s)
. If count1
> size() - pos1
the substring is [pos1, size())
.