@@ -140,7 +140,31 @@ This status table describes which of the following Swift language features have
140
140
| ** Swift Language Feature** | ** Implemented Experimental Support For Using It In C++** |
141
141
| --------------------------------| ----------------------------------------------------------|
142
142
| Top-level ` @_cdecl ` functions | Yes |
143
- | Top-level Swift functions | Partially, only with C compatible types |
144
- | ` inout ` parameters | No |
143
+ | Top-level Swift functions | Partially, only with primitive and Swift struct types |
144
+ | ` inout ` parameters | Yes |
145
145
| Variadic parameters | No |
146
146
| Multiple return values | No |
147
+
148
+ ** Structs**
149
+
150
+ | ** Swift Language Feature** | ** Implemented Experimental Support For Using It In C++** |
151
+ | --------------------------------| ----------------------------------------------------------|
152
+ | Fixed layout structs | Yes |
153
+ | Resilient / opaque structs | Yes |
154
+ | Copy and destroy semantics | Yes |
155
+ | Initializers | Partially, as static ` init ` methods. No failable support |
156
+
157
+ ** Methods**
158
+
159
+ | ** Swift Language Feature** | ** Implemented Experimental Support For Using It In C++** |
160
+ | --------------------------------| ----------------------------------------------------------|
161
+ | Instance methods | Yes, for structs only |
162
+ | Static methods | No |
163
+
164
+ ** Properties**
165
+
166
+ | ** Swift Language Feature** | ** Implemented Experimental Support For Using It In C++** |
167
+ | --------------------------------| ----------------------------------------------------------|
168
+ | Getter accessors | Yes, via ` get<name> ` . For structs only |
169
+ | Setter accessors | No |
170
+ | Mutation accessors | No |
0 commit comments