Adding iterator_category to counting_iterator.

This commit is contained in:
Barry Revzin 2021-12-24 12:59:50 -06:00
parent 03eadbd6bb
commit 43582c078d

View File

@ -1947,6 +1947,8 @@ FMT_CONSTEXPR auto write(OutputIt out, basic_string_view<Char> s,
if (specs.width != 0) {
if (is_debug) {
struct counting_iterator {
using iterator_category = std::output_iterator_tag;
int n = 0;
struct proxy {
int& n;