Compartilhar via


multi_link_registry::add Method

Adds a link to the multi_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 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.

Requirements

Header: agents.h

Namespace: concurrency

See Also

Reference

multi_link_registry Class