Skip to content

std::iterator_traits specialisation for fmt::appender breaks std::output_iterator concept #4092

Description

@teemu-torma

fmt::basic_appender<char> does not match libstdc++ std::output_iterator concept, because std::iterator_traits<fmt::appender> does not match incrementable iterator concept.

Either removing the std::iterator_traits specialisation, or adding difference_type to it fixes the problem.

The specialisation was added in version 11.0.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions