Skip to content

Commit d33a45c

Browse files
authored
Merge pull request #42199 from apple/hyp-update-docs-status-1
[docs][cxx-interop] Mention no bridging for C++ standard library types
2 parents 674020f + a6bb23b commit d33a45c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/CppInteroperability/CppInteroperabilityStatus.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ Unless stated otherwise (i.e., imported reference types) all Swift features work
108108

109109
### C++ Standard Library Support
110110

111-
Parts of libc++ can be imported and used from Swift.
111+
Parts of libc++ can be imported and used from Swift. C++ standard library types are bridged directly to Swift, and there is not automatic bridging to native Swift types. This means that if an imported C++ API returns `std::string`, you will get a `std::string` value in Swift as well, and not Swift's `String`.
112112

113113
This status table describes which of the following C++ standard library features have some experimental support for using them in Swift. Please note that this is not a comprehensive list and other libc++ APIs that use the above supported C++ language features could be imported into Swift.
114114

0 commit comments

Comments
 (0)