Share via


single_link_registry::add Method

Adds a link to the single_link_registry object.

virtual void add(
   _EType _Link
);

Parameters

  • _Link
    A pointer to a block to be added.

Remarks

The method throws an invalid_link_target exception if there is already a link in this registry.

Requirements

Header: agents.h

Namespace: concurrency

See Also

Reference

single_link_registry Class