yu ~master (2017-08-14T10:07:44Z)
Dub
Repo
EnableSharedFromThisImpl
yu
memory
smartref
Undocumented in source.
mixin template
EnableSharedFromThisImpl (
Alloc
T
bool
Shread
= true
) {
alias
TWeakRef
=
IWeakRef
!(
Alloc
,
T
,
Shread
)
;
alias
TSharedRef
=
ISharedRef
!(
Alloc
,
T
,
Shread
)
;
TSharedRef
sharedFromThis
();
void
__InitializeFromSharedPointer
(SHARED ptr);
}
Members
Aliases
TSharedRef
alias
TSharedRef
=
ISharedRef
!(
Alloc
,
T
,
Shread
)
Undocumented in source.
TWeakRef
alias
TWeakRef
=
IWeakRef
!(
Alloc
,
T
,
Shread
)
Undocumented in source.
Functions
__InitializeFromSharedPointer
void
__InitializeFromSharedPointer
(SHARED ptr)
Undocumented in source. Be warned that the author may not have intended to support it.
sharedFromThis
TSharedRef
sharedFromThis
()
Undocumented in source. Be warned that the author may not have intended to support it.
Meta
Source
See Implementation
yu
memory
smartref
aliases
ScopedRef
SharedRef
WeakRef
classes
TestMyClass
functions
freeSharedInt
makeIScopedRef
makeIScopedRefWithDeleter
makeISharedRef
makeISharedRefWithDeleter
makeScopedRef
makeScopedRefWithDeleter
makeSharedRef
makeSharedRefWithDeleter
smartfreeSharedInt
mixin templates
EnableSharedFromThisImpl