top of page

Delegate Event Class

Delegate is a single header, thread safe C++ event class. I wrote the first implementation in June 2020, and learned a ton from it. It is open source on Github, and is available here.

It features

  - 2 ^ 64 max event listeners on any given event.

  - Single header

  - Easily customizable event parameters with variadic templates.

  - Full thread safety.

  - Macro configuration.

  - Its fast.

Delegate was the first time I really ever dipped my toe into variadic templates, and it was definitely worth it. It made the software much more scalable and useful, and learning about template specialization and parameter packs is great knowledge to have.

If you're interested in how to use the software, check Delegate's Github page. It features simple code examples, and other information relating to the software.

bottom of page