hunt-net ~master (2022-02-18T10:07:33Z)
Home
Dub
Repo
ReferenceCountUpdater.release
hunt
net
buffer
ReferenceCountUpdater
ReferenceCountUpdater
Undocumented in source. Be warned that the author may not have intended to support it.
bool
release
(T instance)
bool
release
(T instance, int decrement)
class
ReferenceCountUpdater
(T, string fieldName)
final
bool
release
(
T
instance
,
int
decrement
)
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