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> |
||
|---|---|---|
| .. | ||
| dispatchkit | ||
| language | ||
| utility | ||
| chaiscript_basic.hpp | ||
| chaiscript_defines.hpp | ||
| chaiscript_stdlib.hpp | ||
| chaiscript_threading.hpp | ||
| chaiscript.hpp | ||