Unique

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

this
this(Unique!(T, Allocator) other)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Postblit

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

Members

Aliases

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

Functions

get
inout(Pointer) get()

Gets the owned pointer. Use with caution.

opAssign
void opAssign(Unique!(T, Allocator) other)
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
bool opCast()

"Truthiness" cast

unique
Unique unique()

Releases ownership and transfers it to the returned Unique object.

Manifest constants

hasInstance
enum hasInstance;
Undocumented in source.

Mixins

__anonymous
mixin Proxy!_object
Undocumented in source.

Meta