Make fmt::appender implement std::output_iterator concept (#4093)

Signed-off-by: Vladislav Shchapov <vladislav@shchapov.ru>
This commit is contained in:
Vladislav Shchapov
2024-07-29 21:18:20 +05:00
committed by GitHub
parent e23fb6a8b4
commit aff640c32f
3 changed files with 9 additions and 7 deletions

View File

@@ -110,6 +110,7 @@ namespace std {
template <> struct iterator_traits<fmt::appender> {
using iterator_category = output_iterator_tag;
using value_type = char;
using difference_type = ptrdiff_t;
};
} // namespace std