35#include <cereal/cereal.hpp>
42template<
typename kind_of_event_t>
48 template<
typename event_t>
53 static constexpr std::size_t
hash =
56 auto format_to(std::format_context& ctx)
const ->
decltype(ctx.out())
58 return std::format_to(
59 ctx.out(),
"{} \x1b[90m[hash:{:X}, kind:{}({:X}), event:{}({:X})]\x1b[0m",
kind_of_event_type::event_type event_type
kind_of_event_t kind_of_event_type
static constexpr std::size_t hash
auto format_to(std::format_context &ctx) const -> decltype(ctx.out())
kind_of_event_type::template kind_type< event_t > kind_type