The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
Unique.opAssign
automem
unique
Unique
Move from another smart pointer
struct
Unique
(UniqueType, Allocator = typeof(theAllocator()), Flag!"supportGC" supportGC = gcExists ? Flag!"supportGC".yes : Flag!"supportGC".no)
void
opAssign
(
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
Move from another smart pointer