mirror of
https://github.com/ChaiScript/ChaiScript.git
synced 2026-05-01 03:19:28 +08:00
AppleClang's libc++ does not support std::from_chars for floating-point types. Add a compile-time detection macro (CHAISCRIPT_HAS_FLOAT_FROM_CHARS) and fall back to strtod/strtof/strtold on libc++ platforms. Centralize the fallback in parse_num and route bootstrap.hpp and json.hpp through it to keep the workaround in one place. Requested by @lefticus in PR #669 review. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| fnv1a.hpp | ||
| hash.hpp | ||
| json_wrap.hpp | ||
| json.hpp | ||
| quick_flat_map.hpp | ||
| stack_vector.hpp | ||
| static_string.hpp | ||
| utility.hpp | ||