From 50aac2ac92cd3defe2429110717a35f345691a36 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Sat, 14 Sep 2024 08:07:39 -0700 Subject: [PATCH] Add reference to iterator_traits --- include/fmt/format.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/fmt/format.h b/include/fmt/format.h index 3d019501..c2ee7102 100644 --- a/include/fmt/format.h +++ b/include/fmt/format.h @@ -117,6 +117,7 @@ namespace std { template <> struct iterator_traits { using iterator_category = output_iterator_tag; using value_type = char; + using reference = char&; using difference_type = ptrdiff_t; }; } // namespace std