Module btl.autoptr.unique_ptr

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

Manifest constants

NameTypeDescription
isUniquePtr Check if type T is UniquePtr.

Aliases

NameTypeDescription
dynCast btl.autoptr.rc_ptr.dynCast Alias to dynCast.
dynCastMove btl.autoptr.rc_ptr.dynCastMove Alias to dynCastMove.
first btl.autoptr.rc_ptr.first Alias to first.
share btl.autoptr.rc_ptr.share Alias to share.
UniquePtr RcPtr!(_Type,_DestructorType,_ControlType) 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.