System::WeakReference< T >::WeakReference method

WeakReference< T >::WeakReference() method

Default constructor.

System::WeakReference<T>::WeakReference()

See Also

WeakReference< T >::WeakReference(std::nullptr_t) method

Constructor from nullptr.

System::WeakReference<T>::WeakReference(std::nullptr_t)

See Also

WeakReference< T >::WeakReference(const SmartPtr<T>&) method

Initializes a new instance of the WeakReference class, referencing the specified object.

System::WeakReference<T>::WeakReference(const SmartPtr<T> &data)
ParameterTypeDescription
dataconst SmartPtr<T>&Object to store.

See Also

WeakReference< T >::WeakReference(const SmartPtr<T>&, bool) method

Initializes a new instance of the WeakReference class, referencing the specified object.

System::WeakReference<T>::WeakReference(const SmartPtr<T> &data, bool trackResurrection)
ParameterTypeDescription
dataconst SmartPtr<T>&Object to store.
trackResurrectionboolIgnored.

See Also