You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm working with some legacy code that defines a type with an implicit conversion to const char *, but I also have types with an operator<<. Including both ostream.h and format.h causes a compile error on GCC and Clang due to an ambiguous call to map, for example
I'm working with some legacy code that defines a type with an implicit conversion to
const char *
, but I also have types with anoperator<<
. Including bothostream.h
andformat.h
causes a compile error on GCC and Clang due to an ambiguous call tomap
, for exampleGodbolt: https://godbolt.org/z/XkXue4
fails to compile.
The text was updated successfully, but these errors were encountered: