Skip to content

Commit 5115e68

Browse files
committed
Removed Swift class types from the text
1 parent 0548af8 commit 5115e68

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

documentation/cxx-interop/index.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1256,7 +1256,8 @@ object.doSomething()
12561256
```
12571257

12581258
### Inference for Derived Types
1259-
Swift compiler automatically infers the ```SWIFT_SHARED_REFERENCE``` annotation for C++ types that inherit from a base type annotated with ```SWIFT_SHARED_REFERENCE```. These derived types are imported as Swift reference types or Swift class types that use the same ```retain``` and ```release``` functions as the base type. No additional annotation is required on the derived types.
1259+
1260+
Swift compiler automatically infers the ```SWIFT_SHARED_REFERENCE``` annotation for C++ types that inherit from a base type annotated with ```SWIFT_SHARED_REFERENCE```. These derived types are also imported as a reference type in Swift that use the same ```retain``` and ```release``` functions as the base type. No additional annotation is required on the derived types.
12601261

12611262
### Inheritance and Virtual Member Functions
12621263

0 commit comments

Comments
 (0)