Skip to content

Commit a023cf9

Browse files
committed
[cxx-interop] docs, fixup to c++ interop status page after review comments
1 parent 3a41bcd commit a023cf9

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

docs/CppInteroperability/CppInteroperabilityStatus.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ This status table describes which of the following C++ language features can be
3131
| Typedefs / Type aliases | Yes |
3232
| Global Variables | Yes |
3333
| Namespaces | Yes |
34-
| Inline Namespaces | Yes, with some known issues |
34+
| Inline Namespaces | Yes, with some known issues (https://bugs.swift.org/browse/SR-15956) |
3535
| Exceptions | No |
3636
| Fields | Yes |
3737
| Member functions | Yes. Some value category overloads aren't imported |
@@ -54,25 +54,24 @@ The following C++ code patterns or language features have specific mappings to S
5454

5555
| **C++ Language Feature** | **Imported Into Swift** |
5656
|------------------------------------------------------|------------------------------------------------------------------------------------------|
57-
| `get`/`set` member functions | Imported as computed property (since Swift-5.7) |
58-
| `const`/non-`const` member function overload set | Both overloads are imported as a method, with non-`const` method being renamed to `mutating…`. (since Swift-5.7). This will change in a future version of Swift |
57+
| `get`/`set` member functions | Imported as computed property (starting from Swift-5.7) |
58+
| `const`/non-`const` member function overload set | Both overloads are imported as a method, with non-`const` method being renamed to `mutating…` (starting from Swift-5.7). The renaming logic will change in a future version of Swift, and non-`const` methods won't be renamed |
5959

6060

6161
Unless stated otherwise (i.e., imported reference types) all Swift features work with imported types. For example: use in generic contexts, protocol conformance, extensions, etc.
6262

6363

6464
### C++ Standard Library Support
6565

66-
Libc++ can be imported and used from Swift.
66+
Parts of libc++ can be imported and used from Swift.
6767

68-
This status table describes which of the following C++ standard library features have some experimental support for using them in Swift:
68+
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.
6969

7070
| **C++ Standard Library Feature** | **Can Be Used From Swift** |
7171
|------------------------------------|----------------------------------------------|
7272
| `std::string` | Yes |
7373
| `std::vector` | Yes |
7474

75-
7675
## Known Issues
7776

7877
### Inline Namespaces

0 commit comments

Comments
 (0)