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