numem ~master (2025-12-14T08:31:01.1033613)
Dub
Repo
nu_retain
numem
core
memory
Gets the retain function for type T and calls it.
@
nogc
@
trusted
T
nu_retain
(
T
)
(
auto
ref
T
value
)
if
(
isRefcounted
!
T
)
Meta
Source
See Implementation
numem
core
memory
functions
nu_aligned_alloc
nu_aligned_free
nu_aligned_realloc
nu_aligned_realloc_destructive
nu_aligned_size
nu_dup
nu_freea
nu_idup
nu_is_overlapping
nu_mallocT
nu_malloca
nu_realign
nu_release
nu_resize
nu_retain
nu_storageT
nu_swap
nu_terminate
variables
ALIGN_PTR_SIZE
Gets the retain function for type T and calls it.