omni::event16::operator-=
NAME

omni::event16::operator-=

A member operator of omni::event16

#include <omni/delegate/16.hpp>
event16< Ret, PT1, PT2, PT3, PT4, PT5, PT6, PT7, PT8, PT9, PT10, PT11, PT12, PT13, PT14, PT15, PT16 >& omni::event16::operator-=(const omni::delegate16< Ret, PT1, PT2, PT3, PT4, PT5, PT6, PT7, PT8, PT9, PT10, PT11, PT12, PT13, PT14, PT15, PT16 >& d)


OVERLOADS

event16< Ret, PT1, PT2, PT3, PT4, PT5, PT6, PT7, PT8, PT9, PT10, PT11, PT12, PT13, PT14, PT15, PT16 >& omni::event16::operator-=(const event16< Ret, PT1, PT2, PT3, PT4, PT5, PT6, PT7, PT8, PT9, PT10, PT11, PT12, PT13, PT14, PT15, PT16 >& e)

SYNOPSIS

The -= operator is used to remove delegates from 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

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