yu ~master (2017-08-14T10:07:44Z)
Dub
Repo
EnableSharedFromThisImpl.__InitializeFromSharedPointer
yu
memory
smartref
EnableSharedFromThisImpl
Undocumented in source. Be warned that the author may not have intended to support it.
mixintemplate
EnableSharedFromThisImpl
(Alloc, T, bool Shread = true)
final
void
__InitializeFromSharedPointer
(
SHARED
)
(
auto
ref
SHARED
ptr
)
if
(
is
(
SHARED
== struct) &&
SHARED.isSharedRef
&&
__traits(
isSame
,
SHARED.Data
,
TWeakRef.Data
)
)
Meta
Source
See Implementation
yu
memory
smartref
EnableSharedFromThisImpl
aliases
TSharedRef
TWeakRef
functions
__InitializeFromSharedPointer
sharedFromThis