Decouple appender from back_insert_iterator

This commit is contained in:
Victor Zverovich committed 2024-01-03 06:16:00 -08:00
1 parent 242bcaec04
commit c9d233c0a4
3 files changed
+40 -30

No files matched your search

+8
View File
@@ -262,6 +262,14 @@ inline auto ctzll(uint64_t x) -> int {
FMT_END_NAMESPACE
#endif
namespace std {
template <>
struct iterator_traits<fmt::appender> {
using value_type = void;
using iterator_category = std::output_iterator_tag;
};
}
FMT_BEGIN_NAMESPACE
namespace detail {