-
Notifications
You must be signed in to change notification settings - Fork 366
Provide comparison operators for rust::Str and rust::String #57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
While looking into adding this, I noticed that a few trivial functions of I bring this up because, if this would work reliably, then all these operators could be implemented with just an equality and a comparison function that operates on 2 string slices (technically two pointer + length pairs, since
Do you think having |
Vec does not have a guaranteed layout. |
The C++ types should come with operators for
==
,!=
,<
,>
,<=
,>=
.The text was updated successfully, but these errors were encountered: