Return a managed‐pointer reference to this object.

Synopsis

Declared in <bslma_managedptr.h>

template<class REFERENCED_TYPE>
operator ManagedPtr_Ref<REFERENCED_TYPE>();

Description

Return a managed pointer reference, referring to this object. Note that this conversion operator is used implicitly to allow the construction of managed pointers from rvalues because temporaries cannot be passed by references offering modifiable access.

Return Value

managed‐pointer reference to this object

Created with MrDocs