WeakPtr()
Contents
[
Hide
]WeakPtr::WeakPtr(std::nullptr_t) constructor
Creates null pointer.
System::WeakPtr<T>::WeakPtr(std::nullptr_t=nullptr)
WeakPtr::WeakPtr(Pointee_ *) constructor
Creates weak pointer to given object.
System::WeakPtr<T>::WeakPtr(Pointee_ *object)
Arguments
Parameter | Type | Description |
---|---|---|
object | Pointee_ * | Object to create weak pointer to. |
WeakPtr::WeakPtr(const SmartPtr_&) constructor
Creates weak pointer referencing same pointer ptr points to.
System::WeakPtr<T>::WeakPtr(const SmartPtr_ &ptr)
Arguments
Parameter | Type | Description |
---|---|---|
ptr | const SmartPtr_& | Pointer to copy pointee value from. |
WeakPtr::WeakPtr(const SmartPtr<Q>&) constructor
Creates weak pointer referencing same pointer x points to.
template<class Q,typename> System::WeakPtr<T>::WeakPtr(const SmartPtr<Q> &x)
Template parameters
Parameter | Description |
---|---|
Q | Pointee type of source pointer. |
Arguments
Parameter | Type | Description |
---|---|---|
x | const SmartPtr<Q>& | Pointer to copy pointee value from. |
WeakPtr::WeakPtr(const WeakPtr_&) constructor
Copy-constructs weak pointer.
System::WeakPtr<T>::WeakPtr(const WeakPtr_ &ptr)
Arguments
Parameter | Type | Description |
---|---|---|
ptr | const WeakPtr_& | Pointer to copy pointee value from. |
WeakPtr::WeakPtr(const WeakPtr<Q>&) constructor
Copy-constructs weak pointer.
template<class Q,typename> System::WeakPtr<T>::WeakPtr(const WeakPtr<Q> &x)
Template parameters
Parameter | Description |
---|---|
Q | Source pointee type. |
Arguments
Parameter | Type | Description |
---|---|---|
x | const WeakPtr<Q>& | Pointer to copy pointee value from. |
WeakPtr::WeakPtr(SmartPtr_&&) constructor
Move-constructs weak pointer.
System::WeakPtr<T>::WeakPtr(SmartPtr_ &&x)
Arguments
Parameter | Type | Description |
---|---|---|
x | SmartPtr_&& | Pointer to move pointee value from. |