Skip to content

Commit 3873603

Browse files
committed
[interop][SwiftToCxx] docs: update status page to reflect class support
1 parent 6831130 commit 3873603

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

docs/CppInteroperability/CppInteroperabilityStatus.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -154,17 +154,25 @@ This status table describes which of the following Swift language features have
154154
| Copy and destroy semantics | Yes |
155155
| Initializers | Partially, as static `init` methods. No failable support |
156156

157+
**Class types**
158+
159+
| **Swift Language Feature** | **Implemented Experimental Support For Using It In C++** |
160+
|--------------------------------|----------------------------------------------------------|
161+
| Class reference values | Yes |
162+
| ARC semantics | Yes (C++ copy constructor,assignment operator, destructor perform ARC operations) |
163+
| Initializers | No |
164+
157165
**Methods**
158166

159167
| **Swift Language Feature** | **Implemented Experimental Support For Using It In C++** |
160168
|--------------------------------|----------------------------------------------------------|
161-
| Instance methods | Yes, for structs only |
169+
| Instance methods | Yes, for structs and classes only |
162170
| Static methods | No |
163171

164172
**Properties**
165173

166174
| **Swift Language Feature** | **Implemented Experimental Support For Using It In C++** |
167175
|--------------------------------|----------------------------------------------------------|
168-
| Getter accessors | Yes, via `get<name>`. Boolean properties that start with `is` or `has` are remapped directly to a getter method using their original name. For structs only |
169-
| Setter accessors | Yes, via `set<name>`. For structs only |
176+
| Getter accessors | Yes, via `get<name>`. Boolean properties that start with `is` or `has` are remapped directly to a getter method using their original name. For structs and classes only |
177+
| Setter accessors | Yes, via `set<name>`. For structs and classes only |
170178
| Mutation accessors | No |

0 commit comments

Comments
 (0)