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

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

Dec 3, 2018 at 8:03am

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
Dec 3, 2018 at 3:42pm
closed account (E0p9LyTq)
More C++ alternatives to C library routines/functions. Cool.
Dec 3, 2018 at 6:03pm
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 Dec 3, 2018 at 6:06pm
Topic archived. No new replies allowed.