MSVC 16.10.1 fails to compile current head with /std:c++latest /Zc:__cplusplus (-> #define __cplusplus 201705L)
but fails not with /std:c++latest /Zc:__cplusplus- (-> #define __cplusplus 199711L).
Code sample see: https://godbolt.org/z/e7zehe6fG
Compilation fails with message
format.h(899,29): error C3615: constexpr function 'fmt::v7::detail::count_digits' cannot result in a constant expression
format.h(904,35): message : failure was caused by variable declaration with non-automatic storage
MSVC 16.10.1 fails to compile current head with
/std:c++latest /Zc:__cplusplus(->#define __cplusplus 201705L)but fails not with
/std:c++latest /Zc:__cplusplus-(->#define __cplusplus 199711L).Code sample see: https://godbolt.org/z/e7zehe6fG
Compilation fails with message