![]() |
• Utility Library | ||||||
|
API Links
Developer Links
|
class LinkTargetDefined in:
The C4Link.hLinkTarget class template is the base class for objects that can be the target of a smart pointer.
Definition
Member Functions
Template Parameters
Constructor
LinkTarget class may exist only as a base class for another class.
Description
The LinkTarget class template stores a list of Link objects that each currently point to the object of which the LinkTarget class is a base class. A class of type T inherits from LinkTarget<T> to allow it to be the target of an object of type Link<T>. When the LinkTarget object is destroyed, all of the links currently pointing to it are automatically cleared to nullptr.
See Also
|