1
0
Files
YYCCommonplace/cmake/check_charconv/from_chars_result.cpp
yyc12345 71eb0741f6 fix: try fix clang libcxx charconv issue.
- add compile checker in cmake to detect charconv support status.
- and expose macro for yycc to enable different part of charconv repectively to prevent duplicated defines.
2026-01-23 14:46:09 +08:00

10 lines
175 B
C++

#include <charconv>
#include <system_error>
int main(int argc, char **argv) {
std::from_chars_result result {
.ptr = nullptr,
.ec = std::errc{},
};
}