operator=()

WeakPtr::operator=(Q&&) method

Assigns value to weak pointer. Calls into specific assignment operator of SmartPtr_.

template<typename Q> WeakPtr & System::WeakPtr<T>::operator=(Q &&value)

Template parameters

ParameterDescription
QArgument type supported by System::SmartPtr assignment operators.

Arguments

ParameterTypeDescription
valueQ&&Pointer to copy pointee value from.

See Also