-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Add comparable conformance for C++ strings #76223
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
Add comparable conformance for C++ strings #76223
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @ishon19 for this PR.
Could you please also add tests for the comparison between strings to the existing test file for std::string
(test/Interop/Cxx/stdlib/use-std-string.swift
)?
Sure, working on it! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is looking great! I only have one comment on the implementation.
On a separate note, could you please also squash the two commits into a single commit?
83d69e2
to
49d9067
Compare
Thanks @egorzhdan! Sure, merged them all in a single commit now. |
@swift-ci please test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
Thanks for the review @egorzhdan! :) |
…ing` being `Comparable` This is possible after #76223.
This PR adds
Comparable
conformance for C++ strings.Fixes #76220