hunt-net ~master (2022-02-18T10:07:33Z)
Home
Dub
Repo
ReferenceCountUpdater.retain
hunt
net
buffer
ReferenceCountUpdater
ReferenceCountUpdater
Undocumented in source. Be warned that the author may not have intended to support it.
T
retain
(T instance)
class
ReferenceCountUpdater
(T, string fieldName)
final
T
retain
(
T
instance
)
if
(
is
(
T
:
ReferenceCounted
) &&
(
is
(
typeof
(__traits(
getMember
,
T
,
fieldName
)) ==
shared
(
int
))
)
)
T
retain
(T instance, int increment)
Meta
Source
See Implementation
hunt
net
buffer
ReferenceCountUpdater
ReferenceCountUpdater
constructors
this
functions
initialValue
isLiveNonVolatile
refCnt
release
resetRefCnt
retain
setRefCnt
updater