Skip to content

Conversation

@egorzhdan
Copy link
Contributor

This will allow passing nil as a parameter to a C++ function that takes a std::optional<T>.

rdar://114194600

This will allow passing `nil` as a parameter to a C++ function that takes a `std::optional<T>`.

rdar://114194600
@egorzhdan egorzhdan added the c++ interop Feature: Interoperability with C++ label Aug 21, 2023
@egorzhdan
Copy link
Contributor Author

@swift-ci please smoke test

@egorzhdan egorzhdan merged commit d85b286 into main Aug 22, 2023
@egorzhdan egorzhdan deleted the egorzhdan/std-optional-init-nil branch August 22, 2023 19:43
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.

3 participants