#pragma once #include "enchantum.hpp" #include #include #include "details/format_util.hpp" template struct std::formatter : std::formatter { template constexpr auto format(const E e, FmtContext& ctx) const { return std::formatter::format(enchantum::details::format(e), ctx); } };