![]() |
• Utility Library | ||||||||||||||
|
API Links
Developer Links
|
class LinkDefined in:
The C4Link.hLink class template encapsulates a smart pointer to an object.
Definition
Member Functions
Template Parameters
Constructor
Parameters
Description
The Link class template provides a mechanism through which a smart pointer to an object of the type given by the type template parameter can be stored. The link to an object is automatically reset to nullptr if the target object is destroyed. A class of type T to which a link can be established must inherit from the class LinkTarget<T>. The LinkTarget class template stores a list of all links that currently point to it. When the link target is destroyed, all of the links in the list are cleared.
Overloaded Operators
Base Classes
See Also
LinkTarget
|