-
Notifications
You must be signed in to change notification settings - Fork 10.5k
[cxx-interop] Handle inherited templated operators during auto-conformance #67287
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
Conversation
@swift-ci please smoke test |
59d7555
to
7f33e99
Compare
@swift-ci please smoke test |
7f33e99
to
52015fe
Compare
@swift-ci please smoke test |
52015fe
to
42d046b
Compare
@swift-ci please smoke test |
1 similar comment
@swift-ci please smoke test |
42d046b
to
d6592f7
Compare
@swift-ci please smoke test |
d6592f7
to
206a585
Compare
@swift-ci please smoke test |
…mance This fixes the automatic `std::unordered_map` conformance to CxxDictionary on Linux. Previously `std::unordered_map::const_iterator` was not auto-conformed to UnsafeCxxInputIterator because its `operator==` is defined on a templated base class of `const_iterator`. rdar://105220600
206a585
to
bc56ddc
Compare
@swift-ci please smoke 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.
Look good, thanks!
@swift-ci please smoke test Linux |
4 similar comments
@swift-ci please smoke test Linux |
@swift-ci please smoke test Linux |
@swift-ci please smoke test Linux |
@swift-ci please smoke test Linux |
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 really really awesome stuff. Thanks Egor.
This fixes the automatic
std::unordered_map
conformance to CxxDictionary on Linux. Previouslystd::unordered_map::const_iterator
was not auto-conformed to UnsafeCxxInputIterator because itsoperator==
is defined on a templated base class ofconst_iterator
.rdar://105220600
Resolves #66767