Home | Libraries | People | FAQ | More |
Compare the string with another.
template< typename T, [role red error.class-detail-template.1][role red error.class-detail-template.2] = detail::enable_if_viewable_t<T, CharT, Traits>> BOOST_STATIC_STRING_CPP14_CONSTEXPR int compare( const T& t) const;
Compares this string to t
after converting t
to
string_view_type
. This
function participates in overload resolution if T
is convertible to string_view_type
and T
is not convertible
to const_pointer
.