omni::event::operator+
NAME

omni::event::operator+

A member operator of omni::event

#include <omni/delegate/0.hpp>
event< Ret > omni::event::operator+(const omni::delegate< Ret >& d)


OVERLOADS

event< Ret > omni::event::operator+(const event< Ret >& e)

SYNOPSIS

The + operator adds delegate to the event instance and returns the combined list.

top

DESCRIPTION

No description.

top

RETURN VALUES

s A reference to this

top


PARAMETERS

d - The right most operand delegate 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 time; i.e. a race condition can occur if you detach to an event from one thread while invoking from another.

top