NAME
A member function of omni::event15
omni::event15::attach
A member function of omni::event15
#include <omni/delegate/15.hpp>template < class InputIterator > void omni::event15::attach(InputIterator begin, InputIterator end)
DESCRIPTION
Adds a range of delegates from an InputIterator template type. Each of the elements is added to the end of this instances invocation list. See the notes below about race conditions.
top
Adds a range of delegates from an InputIterator template type. Each of the elements is added to the end of this instances invocation list. See the notes below about race conditions.
top
PARAMETERS
top
begin - The input iterator pointing to the initial position in the sequence to add end - The input iterator pointing to the last position in the sequence to add
top
CONSIDERATIONS
If the OMNI_SAFE_EVENT defines are not enabled, it is undefined if this event is invoked and edited at the same
top
If the OMNI_SAFE_EVENT defines are not enabled, it is undefined if this event is invoked and edited at the same
time; i.e. a race condition can occur if you attach to an event from one thread while invoking from another.
top