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