The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

multi_link_registry::add Method


Adds a link to the multi_link_registry object.

virtual void add(
   _EType _Link


A pointer to a block to be added.

The method throws an invalid_link_target exception if the link is already present in the registry, or if a bound has already been set with the set_bound function and a link has since been removed.


Header: agents.h

Namespace: concurrency