• Forum
  • Lounge
  • How to Use The Newest C++ String Convers

 
How to Use The Newest C++ String Conversion Routines - std::from_chars


With C++17 we get another facility to handle the conversion between text and numbers. Why should we care about the new routines? Are they better in any way?


https://www.bfilipek.com/2018/12/fromchars.html
closed account (E0p9LyTq)
More C++ alternatives to C library routines/functions. Cool.
from_chars is low-level, and offers the best possible performance.

Hooray! Had no idea this was a feature, thanks for sharing. Surprised only VC2017 fully supports it. Probably will be a while before it is stable on MinGW, since that lags behind further.
Last edited on
Topic archived. No new replies allowed.