RefCounted

Undocumented in source.

Constructors

this
this(Args args)

The allocator is a singleton, so no need to pass it in to the constructor

this
this(Allocator allocator, Args args)

Non-singleton allocator, must be passed in

Destructor

~this
~this()
Undocumented in source.

Postblit

this(this)
this(this)
Undocumented in source.

Alias This

_impl

Members

Aliases

Pointer
alias Pointer = Type
Undocumented in source.
Pointer
alias Pointer = Type*
Undocumented in source.

Functions

get
inout(Pointer) get()

Gets the pointer to the object. Use with caution.

opAssign
void opAssign(RefCounted other)

Assign to an rvalue RefCounted

opAssign
void opAssign(RefCounted other)

Assign to an lvalue RefCounted

opUnary
inout(Type) opUnary()

Dereference the smart pointer and yield a reference to the contained type.

Manifest constants

hasInstance
enum hasInstance;
Undocumented in source.

Meta