Peter Dimov
Peter Dimov
Looks like an issue with libstdc++.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113200
We'd need a test that it can be used as an NTTP, though. :-)
`static_cstring` might be useful, but its interface should probably be slightly different.
> It seems that `std::to_chars` returns `errc::value_too_large` rather than `errc::result_out_of_range`. Is this simply a mistake or do you have a reason for using `errc::result_out_of_range` instead? That's how `std::to_chars` is specified,...
That should be a bug, then.
I see no CI failures for Clang 13/14 here.
I think I prefer the normal `#include`, for aesthetic reasons if nothing else.
@Lastique what do you think about this? A CMake option in `winapi` comes to mind.
That's OK because it mirrors the macro name.