![]() |
OpenSWMM Engine
6.0.0-alpha.1
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.1)
|
Portable from_chars for floating-point types. More...
#include <charconv>#include <cstdlib>#include <system_error>#include <string>Go to the source code of this file.
Namespaces | |
| namespace | openswmm |
Functions | |
| std::from_chars_result | openswmm::from_chars_double (const char *first, const char *last, double &value) noexcept |
| Locale-independent parse of a double from a character range. | |
Portable from_chars for floating-point types.
Apple libc++ does not support std::from_chars for floating-point types. This header provides a drop-in wrapper that uses std::strtod as a fallback when the standard library lacks the feature.