The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
Unique.unique
automem
unique
Unique
Releases ownership and transfers it to the returned Unique object.
struct
Unique
(UniqueType, Allocator = typeof(theAllocator()), Flag!"supportGC" supportGC = gcExists ? Flag!"supportGC".yes : Flag!"supportGC".no)
Unique
unique
(
)
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
Releases ownership and transfers it to the returned Unique object.