Boost logo

Boost :

From: Matt Borland (matt_at_[hidden])
Date: 2024-01-17 11:57:45


> But isn't strtold locale dependent while from_chars is supposed to act
> as-if strtod in the "C"-locale? Wouldn't that fallback violate that
> contract on non-English locales?
>

> Or does that fallback only apply when the locale difference does not matter?
>

> Alex
>

The latter since we will have already attempted conversion internally, and rejected a string that is not in the "C"-locale.

Matt





Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk