Closed vimpostor closed 1 year ago
Otherwise with C++20 we may get an error for an ambiguous definition, as std::format_to may shadow fmt::format_to, for example with gcc the error may look like this:
std::format_to
fmt::format_to
error: call of overloaded ‘format_to(fmt::v8::basic_format_context<fmt::v8::appender, char>::iterator, const char [9], float, float)’ is ambiguous (...) candidate: ‘OutputIt fmt::v8::format_to(OutputIt, format_string<T ...>, T&& ...) (...) candidate: ‘_Out std::format_to(_Out, format_string<_Args ...>, _Args&& ...)
Otherwise with C++20 we may get an error for an ambiguous definition, as
std::format_to
may shadowfmt::format_to
, for example with gcc the error may look like this: