Skip to content

Conversation

@egorzhdan
Copy link
Contributor

The original C++ operators are not currently imported into Swift because they are defined as a non-member templated functions.

This change adds the operators as Swift extension functions. This also adds an Equatable conformance for std::string.

rdar://107017882

…ing`s

The original C++ operators are not currently imported into Swift because they are defined as a non-member templated functions.

This change adds the operators as Swift extension functions. This also adds an `Equatable` conformance for `std::string`.

rdar://107017882
@egorzhdan egorzhdan added the c++ interop Feature: Interoperability with C++ label Mar 23, 2023
@egorzhdan egorzhdan requested review from hyp and zoecarver as code owners March 23, 2023 18:13
@egorzhdan
Copy link
Contributor Author

@swift-ci please smoke test

@egorzhdan
Copy link
Contributor Author

@swift-ci please test

@egorzhdan egorzhdan merged commit 91810ee into main Mar 24, 2023
@egorzhdan egorzhdan deleted the egorzhdan/std-string-concat branch March 24, 2023 17:40
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.

4 participants