automem ~master (2021-08-10T17:03:37Z)
Dub
Repo
Unique.this
automem
unique
Unique
The allocator is global, so no need to pass it in to the constructor
this
(Args args)
struct
Unique
(UniqueType, Allocator = typeof(theAllocator()), Flag!"supportGC" supportGC = gcExists ? Flag!"supportGC".yes : Flag!"supportGC".no)
static if
(
isGlobal
)
this
(
Args
...
)
(
auto
ref
Args
args
)
if
(
isAllocator
!
Allocator
)
this
(Allocator allocator, Args args)
this
(Unique!(T, Allocator) other)
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
The allocator is global, so no need to pass it in to the constructor