Owned

Ownership mixin. T is the pointed-to C type; freeFn is called with the pointer on destruction.

Constructors

this
this()
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Postblit

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

Members

Functions

opCast
bool opCast()

True when the handle holds a non-null pointer.

Properties

ptr
T* ptr [@property getter]

Raw C pointer (mutable).

ptr
const(T)* ptr [@property getter]

Raw C pointer (const view).

Meta