From 3feca52a87e7b604b32b8631bba888d3b8b2caaf Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Sun, 19 Nov 2023 09:36:30 +1000 Subject: [PATCH] endian: add fmt::formatter for `value` --- endian.hpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/endian.hpp b/endian.hpp index c726d427..e2de1f2b 100644 --- a/endian.hpp +++ b/endian.hpp @@ -298,3 +298,10 @@ namespace cruft { using bi32 = endian::big; using bi64 = endian::big; } + +#include + +template +struct fmt::formatter> : + public fmt::ostream_formatter +{}; \ No newline at end of file