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¶
| Name | Description |
|---|---|
| _other | The event instance to copy. |