SPtr

Shared Pointer of type T, using allocator Allocator. The default allocator is Mallocator.

Constructors

this
this(typeof(null) )

Copy from null

this
this(SPtr!(T, Allocator) rhs)

Copy another SPtr!(T, Allocator)

Destructor

~this
~this()
Undocumented in source.

Alias This

ptr

Members

Functions

opAssign
void opAssign(typeof(null) )

Assign null

opUnary
auto opUnary()

Provides dereferencing for pointers that are not class

Properties

ptr
T ptr [@property getter]

Get the underlying pointer T

Meta