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)
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)
struct
Allocator
(alias AllocT)
@
nogc
nothrow shared
void
dispose
(
T
)
(
scope
auto
ref
T
*
ptr
)
if
(
ctassert
!(
isSimpleAllocator
!
AllocT
, "Type `" ~
AllocT.stringof
~ "` is not an allocator.")
)
Meta
Source
See Implementation
libd
memory
allocator
common
Allocator
aliases
Alloc
instance
isStatic
constructors
this
functions
dispose
growArray
make
makeArray
shrinkArray
static variables
Tag