Module btl.autoptr.intrusive_ptr
Implementation of intrusive reference counted pointer IntrusivePtr
(similar to c++ std::enable_shared_from_this
).
Functions
Name | Description |
dynCast()
|
Dynamic cast for shared pointers if ElementType is class with D linkage.
|
dynCastMove()
|
Dynamic cast for shared pointers if ElementType is class with D linkage.
|
intrusivePtr(elm)
|
Create IntrusivePtr instance from class reference Elm or struct pointer element Elm .
|
share(ptr)
|
Return shared IntrusivePtr pointing to same managed object like parameter ptr .
|
Structs
Name | Description |
IntrusivePtr
|
Implementation of a ref counted pointer that points to an object with an embedded reference counter ControlBlock .
|