Skip to content

Conversation

@egorzhdan
Copy link
Contributor

This extends the existing auto-conformance mechanism to synthesize the conformances to CxxConvertibleToCollection protocol for C++ sequence types.

This means that the developer can now call Array(myCxxSequence) or Set(myCxxSequence) without adding any extensions manually.

This extends the existing auto-conformance mechanism to synthesize the conformances to `CxxConvertibleToCollection` protocol for C++ sequence types.

This means that the developer can now call `Array(myCxxSequence)` or `Set(myCxxSequence)` without adding any extensions manually.
@egorzhdan egorzhdan added the c++ interop Feature: Interoperability with C++ label Nov 29, 2022
@egorzhdan
Copy link
Contributor Author

@swift-ci please smoke test

@egorzhdan
Copy link
Contributor Author

@swift-ci please test

@egorzhdan
Copy link
Contributor Author

@swift-ci please smoke test macOS

@egorzhdan egorzhdan merged commit 9f54289 into main Dec 1, 2022
@egorzhdan egorzhdan deleted the egorzhdan/synthesize-cxx-convertible branch December 1, 2022 11:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

c++ interop Feature: Interoperability with C++

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants