reset()

SmartPtr::reset(Pointee_ *) method

Sets pointed object.

void System::SmartPtr<T>::reset(Pointee_ *ptr)

Arguments

ParameterTypeDescription
ptrPointee_ *Raw pointer to new referenced object.

SmartPtr::reset() method

Makes pointer pointing to nullptr.

void System::SmartPtr<T>::reset()

See Also