automem ~master (2021-08-10T17:03:37Z)
Dub
Repo
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
aliases
Pointer
Type
get
constructors
this
destructors
~this
functions
allocator
borrow
opAssign
opCast
release
unique
manifest constants
isGlobal
isSingleton
isTheAllocator
mixins
__anonymous
postblits
this(this)
static functions
construct
Releases ownership and transfers it to the returned Unique object.