Skip to content

Commit 407e8a6

Browse files
authored
[interop][SwiftToCxx] update status doc for class init support
Class initializers are supported. Also mention that methods aren't virtual ATM.
1 parent 1783e22 commit 407e8a6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/CppInteroperability/CppInteroperabilityStatus.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,13 +172,13 @@ This status table describes which of the following Swift language features have
172172
|--------------------------------|----------------------------------------------------------|
173173
| Class reference values | Yes |
174174
| ARC semantics | Yes (C++ copy constructor,assignment operator, destructor perform ARC operations) |
175-
| Initializers | No |
175+
| Initializers | Yes |
176176

177177
**Methods**
178178

179179
| **Swift Language Feature** | **Implemented Experimental Support For Using It In C++** |
180180
|--------------------------------|----------------------------------------------------------|
181-
| Instance methods | Yes |
181+
| Instance methods | Yes on structs and enums. Only 'final' method calls on class types are correctly supported though (virtual calls won't be virtual due to a bug right now) |
182182
| Static methods | No |
183183

184184
**Properties**

0 commit comments

Comments
 (0)