diff --git a/include/boxed-cpp/boxed.hpp b/include/boxed-cpp/boxed.hpp index 56fd786..3986c8b 100644 --- a/include/boxed-cpp/boxed.hpp +++ b/include/boxed-cpp/boxed.hpp @@ -218,6 +218,8 @@ namespace fmt template struct fmt::formatter> { + constexpr auto parse(fmt::format_parse_context& ctx) { return ctx.begin(); } + auto format(boxed::detail::boxed const& val, fmt::format_context& ctx) { return fmt::format_to(ctx.out(), "{}", val.value);