System::DynamicWeakPtr::operator= method

DynamicWeakPtr::operator=(const SmartPtr<Q>&) method

Copy-assigns smart pointer.

template<typename Q> DynamicWeakPtr_ & System::DynamicWeakPtr<T, trunkMode, weakLeafs>::operator=(const SmartPtr<Q> &x)
ParameterDescription
QSource pointee type.
ParameterTypeDescription
xconst SmartPtr<Q>&Pointer to copy-assign value from.

ReturnValue

Self reference.

See Also

DynamicWeakPtr::operator=(const SmartPtr_&) method

Copy-assigns smart pointer.

DynamicWeakPtr_ & System::DynamicWeakPtr<T, trunkMode, weakLeafs>::operator=(const SmartPtr_ &x)
ParameterTypeDescription
xconst SmartPtr_&Pointer to copy-assign value from.

ReturnValue

Self reference.

See Also

DynamicWeakPtr::operator=(SmartPtr_&&) method

Move-assigns smart pointer.

DynamicWeakPtr_ & System::DynamicWeakPtr<T, trunkMode, weakLeafs>::operator=(SmartPtr_ &&x)
ParameterTypeDescription
xSmartPtr_&&Pointer to move-assign value from.

ReturnValue

Self reference.

See Also

DynamicWeakPtr::operator=(std::nullptr_t) method

Sets smart pointer to null.

DynamicWeakPtr_ & System::DynamicWeakPtr<T, trunkMode, weakLeafs>::operator=(std::nullptr_t)

ReturnValue

Self reference.

See Also

DynamicWeakPtr::operator=(typename SmartPtr_::Pointee_ *) method

Assigns smart pointer.

DynamicWeakPtr_ & System::DynamicWeakPtr<T, trunkMode, weakLeafs>::operator=(typename SmartPtr_::Pointee_ *p)
ParameterTypeDescription
ptypename SmartPtr_::Pointee_ *Pointer value.

ReturnValue

Self reference.

See Also