- 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.
10 lines
175 B
C++
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{},
|
|
};
|
|
}
|