Skip to content

Commit 8b4b397

Browse files
committed
[cxx-interop] update status docs for generics reverse support and enum members
1 parent a975241 commit 8b4b397

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

docs/CppInteroperability/CppInteroperabilityStatus.md

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -178,13 +178,23 @@ This status table describes which of the following Swift language features have
178178

179179
| **Swift Language Feature** | **Implemented Experimental Support For Using It In C++** |
180180
|--------------------------------|----------------------------------------------------------|
181-
| Instance methods | Yes, for structs and classes only |
181+
| Instance methods | Yes |
182182
| Static methods | No |
183183

184184
**Properties**
185185

186186
| **Swift Language Feature** | **Implemented Experimental Support For Using It In C++** |
187187
|--------------------------------|----------------------------------------------------------|
188-
| 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 |
189-
| Setter accessors | Yes, via `set<name>`. For structs and classes only |
188+
| 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 |
189+
| Setter accessors | Yes, via `set<name>` |
190190
| Mutation accessors | No |
191+
192+
**Generics**
193+
194+
| **Swift Language Feature** | **Implemented Experimental Support For Using It In C++** |
195+
|------------------------------|----------------------------------------------------------|
196+
| Generic functions | Partially, only without generic constraints |
197+
| Generic methods | Partially, only without generic constraints |
198+
| Generic `struct` types | Partially, only without generic constraints and less than 4 generic parameters |
199+
| Generic `enum` types | No |
200+
| Generic `class` types | No |

0 commit comments

Comments
 (0)