This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Define std::to_chars and std::from_chars for C++17 (P0067R5, partial)


On 07/04/17 19:14 -0400, Ed Smith-Rowland wrote:
I think this is worth putting in as it gives us something to start with.

We could backport additions from 8.

Yep, this will be experimental C++17 stuff (even if it's optionally
available for C++14 code if users choose to include a non-portable
header).


I'm looking at libquadmath/strtod/*.c ... Scary stuff.

That respects the locale, which std::from_chars explicitly ignores,
but it's a lot of work nonetheless. I think we want to implement
Grisu3 and then have something else as a slower fallback for the cases
Grisu3 fails on.


But I'll help ;-)

Great, thanks!



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]