8 Oct
2025
8 Oct
'25
3 p.m.
On Wed, Oct 8, 2025 at 5:11 PM Matt Borland via Boost <boost@lists.boost.org> wrote:
Without a constructor or conversion mechanism from string, when using decimal to store numbers received off the wire one would either have to round trip through (lossy) strtod or write a conversion function, which is tiresome.
The best way to do this (and how current users are) is via the <charconv> functions[1].
I'd like it to allow a leading plus sign. Wouldn't it be more convenient to use the `strtod` family (e.g. `strtod64`) instead of `from_chars`? Regards, Michel