Skip to content

Conversation

@egorzhdan
Copy link
Contributor

No description provided.

@egorzhdan
Copy link
Contributor Author

Copy link
Contributor

@j-hui j-hui left a 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.


### Inheritance and Virtual Member Functions

Similarly to value types, casting an instance of a derived reference type to a
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit:

Suggested change
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

Copy link
Contributor Author

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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit

Suggested change
Other standard library types, like `std::function` and `std::variant` are not
Other standard library types like `std::function` and `std::variant` are not

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Either that, or:

Suggested change
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).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit:

Suggested change
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).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed, that looks better

@egorzhdan
Copy link
Contributor Author

@swiftlang/website-workgroup folks, could you please approve this?

Copy link
Member

@alexandersandberg alexandersandberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@egorzhdan egorzhdan merged commit 9815d8c into swiftlang:main Apr 8, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants