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)
T
retain
(T instance, int increment)
class
ReferenceCountUpdater
(T, string fieldName)
final
T
retain
(
T
instance
,
int
increment
)
if
(
is
(
T
:
ReferenceCounted
) &&
(
is
(
typeof
(__traits(
getMember
,
T
,
fieldName
)) ==
shared
(
int
))
)
)
Meta
Source
See Implementation
hunt
net
buffer
ReferenceCountUpdater
ReferenceCountUpdater
constructors
this
functions
initialValue
isLiveNonVolatile
refCnt
release
resetRefCnt
retain
setRefCnt
updater