-
Notifications
You must be signed in to change notification settings - Fork 255
[cxx-interop] Document features that shipped in 6.1 and earlier #956
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
j-hui
left a comment
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, save for a few editorial nits.
documentation/cxx-interop/index.md
Outdated
|
|
||
| ### Inheritance and Virtual Member Functions | ||
|
|
||
| Similarly to value types, casting an instance of a derived reference type to a |
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.
nit:
| Similarly to value types, casting an instance of a derived reference type to a | |
| Similar to value types, casting an instance of a derived reference type to a |
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!
|
|
||
| Other standard library types, like `std::unique_ptr`, `std::function` and | ||
| `std::variant` are not yet supported in Swift. | ||
| Other standard library types, like `std::function` and `std::variant` are not |
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.
nit
| Other standard library types, like `std::function` and `std::variant` are not | |
| Other standard library types like `std::function` and `std::variant` are not |
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.
Either that, or:
| Other standard library types, like `std::function` and `std::variant` are not | |
| Other standard library types, like `std::function` and `std::variant`, are not |
But I don't think the commas are necessary
|
|
||
| Swift has some known limitations related to C++ interoperability support. | ||
| They're currently [listed on GitHub](https://github.com/swiftlang/swift/issues/66159). | ||
| They're currently [listed on GitHub](https://github.com/swiftlang/swift/issues?q=is%3Aissue%20state%3Aopen%20label%3A%22c%2B%2B%20interop%22). |
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.
nit:
| They're currently [listed on GitHub](https://github.com/swiftlang/swift/issues?q=is%3Aissue%20state%3Aopen%20label%3A%22c%2B%2B%20interop%22). | |
| They are currently [tracked on GitHub](https://github.com/swiftlang/swift/issues?q=is%3Aissue%20state%3Aopen%20label%3A%22c%2B%2B%20interop%22). |
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.
Agreed, that looks better
|
@swiftlang/website-workgroup folks, could you please approve this? |
alexandersandberg
left a comment
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.
👍
No description provided.