Skip to content

Ambiguous partial specialization when formatting boost flat_set since fmt v10.0.0 #3556

Description

@5chmidti

When trying to format a flat_set from boost, an ambiguous lookup for formatter happens.

Reproducer:
https://godbolt.org/z/dhqnMf755
boost version 1.82.0 (changing it to some random previous versions did not change something)
Clang 16.0.0 with fmt trunk
gcc 13.2 with fmt trunk
gcc 13.2 with fmt 9.1.0 as a proof it worked with fmt 9.1.0

The ambiguous formatters are in lines

struct formatter<

and
struct formatter<T, Char,

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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