The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
RefCounted.this
automem
ref_counted
RefCounted
The allocator is a singleton, so no need to pass it in to the constructor
this
(Args args)
struct
RefCounted
(RefCountedType, 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)
Meta
Source
See Implementation
automem
ref_counted
RefCounted
constructors
this
destructors
~this
functions
opAssign
opIndex
opIndexAssign
opSlice
opUnary
postblits
this(this)
static functions
construct
The allocator is a singleton, so no need to pass it in to the constructor