Somewhat related, if you are on a C++ project, please consider std::from_chars. It's non-allocating and non-throwing. Works with non-NULL terminated strings.
https://mobiarch.wordpress.com/2022/12/12/string-to-number-c...
https://mobiarch.wordpress.com/2022/12/12/string-to-number-c...
No comments yet.