codex
Loading...
Searching...
No Matches
codex::EventListener Concept Reference

Constrains a callable to an event type. More...

#include <event_dispatcher.hpp>

Concept definition

template<typename T, typename E>
concept codex::EventListener = Event<E> && std::invocable<T, E>
Constrains a callable to an event type.
Definition event_dispatcher.hpp:22
Semi-arbitrary method to identify an event type.
Definition event_dispatcher.hpp:19

Detailed Description

Constrains a callable to an event type.