libd ~master (2021-08-29T21:20:58Z)
Dub
Repo
Allocator.dispose
libd
memory
allocator
common
Allocator
Undocumented in source. Be warned that the author may not have intended to support it.
void
dispose
(NotNullPtr!(T, Tag) ptr)
struct
Allocator
(alias AllocT)
@
nogc
nothrow
void
dispose
(
T
)
(
scope
auto
ref
NotNullPtr
!(
T
,
Tag
)
ptr
)
if
(
ctassert
!(
isSimpleAllocator
!
AllocT
, "Type `" ~
AllocT.stringof
~ "` is not an allocator.")
)
void
dispose
(NotNullSlice!(T, Tag) slice)
void
dispose
(T* ptr)
void
dispose
(NotNullPtr!(T, Tag) ptr)
void
dispose
(NotNullSlice!(T, Tag) slice)
void
dispose
(T* ptr)
Meta
Source
See Implementation
libd
memory
allocator
common
Allocator
aliases
Alloc
instance
isStatic
constructors
this
functions
dispose
growArray
make
makeArray
shrinkArray
static variables
Tag