nub::floating_ref< T > Class Template Reference
List of all members.
Public Member Functions
||floating_ref (T *ptr)|
T * ||operator-> () const throw ()|
T & ||operator* () const throw ()|
T * ||get () const throw ()|
class nub::floating_ref< T >
nub::floating_ref<T> is a ref-counted smart pointer that will NOT delete its pointee when exiting scope. This can be of use to clients who need to allow an object
to be returned to a clean state (i.e. with ref
count == 0), but need to ref
temporarily. Since floating_ref
should only be used in restricted scopes, copying and assignment are disallowed.
Definition at line 421 of file ref.h.
The documentation for this class was generated from the following file: