omni::event3::operator-=
NAME

omni::event3::operator-=

A member operator of omni::event3

#include <omni/delegate/3.hpp>
event3< Ret, PT1, PT2, PT3 >& omni::event3::operator-=(const event3< Ret, PT1, PT2, PT3 >& e)

SYNOPSIS

The -= operator is used to remove a list of delegates to this event instance

top

DESCRIPTION

This is similar to calling the detach method on this instance.

top

RETURN VALUES

s A reference to this

top


PARAMETERS

e - The right most operand event 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