The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
Unique.this
automem
unique
Unique
Non-singleton allocator, must be passed in
this
(Args args)
this
(Allocator allocator, Args args)
struct
Unique
(UniqueType, Allocator = typeof(theAllocator()), Flag!"supportGC" supportGC = gcExists ? Flag!"supportGC".yes : Flag!"supportGC".no)
static if
(!(
isGlobal
))
this
(
Args
...
)
(
Allocator
allocator
,
auto
ref
Args
args
)
if
(
isAllocator
!
Allocator
)
this
(Unique!(T, Allocator) other)
Meta
Source
See Implementation
automem
unique
Unique
constructors
this
destructors
~this
functions
allocator
borrow
opAssign
opCast
release
unique
postblits
this(this)
static functions
construct
Non-singleton allocator, must be passed in