btl.autoptr.unique_ptr

Implementation of unique pointer UniquePtr (alias to btl.autoptr.rc_ptr.RcPtr with immutable control block).

Members

Aliases

dynCast
alias dynCast = btl.autoptr.rc_ptr.dynCast

Alias to btl.autoptr.rc_ptr.dynCast.

dynCastMove
alias dynCastMove = btl.autoptr.rc_ptr.dynCastMove

Alias to btl.autoptr.rc_ptr.dynCastMove.

first
alias first = btl.autoptr.rc_ptr.first

Alias to btl.autoptr.rc_ptr.first.

share
alias share = btl.autoptr.rc_ptr.share

Alias to btl.autoptr.rc_ptr.share.

Templates

UniquePtr
template UniquePtr(_Type, _DestructorType = DestructorType!_Type, _ControlType = immutable(UniqueControlBlock))
template UniquePtr(_Type, _ControlType, _DestructorType = DestructorType!_Type)

UniquePtr is a smart pointer that owns and manages object through a pointer and disposes of that object when the UniquePtr goes out of scope.

isUniquePtr
template isUniquePtr(T)

Check if type T is UniquePtr.

Meta

Authors

Adam Búš