mirror of
https://github.com/fmtlib/fmt.git
synced 2025-03-16 10:21:17 +00:00
Microsoft's constexpr evaluator treats the type of micro[0] and micro[1] as plain char, and so sign extends before comparing them to ints. The normal compiler, including the optimizer, does not fail in this way, so this is merely a "future proof" change in case someone uses is_utf8() in a constant expression.