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
and
|
struct formatter<T, Char, |
When trying to format a
flat_setfrom boost, an ambiguous lookup forformatterhappens.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
fmt/include/fmt/ranges.h
Line 560 in 757564f
and
fmt/include/fmt/ranges.h
Line 671 in 757564f