Adding iterator_category to counting_iterator.
This commit is contained in:
parent
03eadbd6bb
commit
43582c078d
@ -1947,6 +1947,8 @@ FMT_CONSTEXPR auto write(OutputIt out, basic_string_view<Char> s,
|
|||||||
if (specs.width != 0) {
|
if (specs.width != 0) {
|
||||||
if (is_debug) {
|
if (is_debug) {
|
||||||
struct counting_iterator {
|
struct counting_iterator {
|
||||||
|
using iterator_category = std::output_iterator_tag;
|
||||||
|
|
||||||
int n = 0;
|
int n = 0;
|
||||||
struct proxy {
|
struct proxy {
|
||||||
int& n;
|
int& n;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user