System::DynamicWeakPtr::Reference class

Reference class

Reference class which ensures that DynamicWeakPtr::Apply is called. Used if DynamicWeakPtr is passed as SmartPtr reference parameter to function which may assign to it.

class Reference

Methods

MethodDescription
operator DynamicWeakPtr_ &() constConversion operator. Allows using Reference in contexts where DynamicWeakPtr_ is needed.
Reference(DynamicWeakPtr_&)Creates smart pointer reference.
Reference(Reference&&)Move-constructs smart pointer reference.
~Reference()Destroys reference. Ensures Apply() call on referenced smart pointer.

See Also