Make appender compatible with fill

This commit is contained in:
Victor Zverovich
2024-07-19 15:08:52 -07:00
parent 447c6cbf44
commit de684ef776
2 changed files with 14 additions and 0 deletions

View File

@@ -106,6 +106,13 @@
# define FMT_NOINLINE
#endif
namespace std {
template <> struct iterator_traits<fmt::appender> {
using iterator_category = output_iterator_tag;
using value_type = char;
};
} // namespace std
#ifndef FMT_THROW
# if FMT_EXCEPTIONS
# if FMT_MSC_VERSION || defined(__NVCC__)