daii v0.1.0 (2017-06-23T18:28:59Z)
Dub
Repo
Unique.make
daii
unique
Unique
Undocumented in source. Be warned that the author may not have intended to support it.
Unique
!(
T
,
Allocator
)
make
(Args args)
Unique
!(
T
,
Allocator
)
make
(Allocator alloc, Args args)
struct
Unique
(T, Allocator = Mallocator)
static @
trusted
static if
(
!(is(T == interface) || isAbstractClass!(T))
)
static if
(!(
!HoldsAllocator
))
Unique
!(
T
,
Allocator
)
make
(
Args
...
)
(
auto
ref
Allocator
alloc
,
auto
ref
Args
args
)
if
(
isAllocator
!
Allocator
&&
!
isArray
!
T
)
Meta
Source
See Implementation
daii
unique
Unique
aliases
PtrT
constructors
this
destructors
~this
functions
destroy
move
opAssign
to
manifest constants
HoldsAllocator
postblits
this(this)
properties
v
valid
static functions
make