Skip to content

LiteFX::Event::operator=

Assigns a event by copying it.

Synopsis

Declared in <litefx/app.hpp>

constexpr Event& operator=(Event const& _other);

Description

This operator is implemented in order to support copying of types that contain events. Subscribers are not copied and previous subscriptions are cleared!

Return Value

A reference to the current event instance.

Parameters

NameDescription
_otherThe event instance to copy.