STL icon indicating copy to clipboard operation
STL copied to clipboard

P2497R0 Testing For Success Or Failure Of `<charconv>` Functions

Open StephanTLavavej opened this issue 2 years ago • 4 comments
trafficstars

WG21-P2497R0 Testing For Success Or Failure Of <charconv> Functions

INCREASED feature-test macro:

#define __cpp_lib_to_chars 202306L

Note: We're focused on implementing the remaining library-only features in C++23. Until that's done, we will NOT be accepting PRs for C++26 features.

StephanTLavavej avatar Jun 20 '23 00:06 StephanTLavavej

I'd be interested in working on this. Since it's small it'd be a good first PR.

owacoder avatar Apr 04 '25 13:04 owacoder

I'll move this to Investigating to mark that you're interested.

I plan to open up the repo to C++26 PRs in the near future, I just want to land flat_meow first before opening up the floodgates.

StephanTLavavej avatar Apr 06 '25 04:04 StephanTLavavej

This is now implemented here: https://github.com/owacoder/STL/tree/p2497r0

owacoder avatar Apr 27 '25 00:04 owacoder

This is now implemented here: https://github.com/owacoder/STL/tree/p2497r0

Thanks! I think you can add test coverage to the existing tests/std/tests/P0067R5_charconv/test.cpp. P2497R0 is really small and thus I think it would be better to avoid creating new test files.

frederick-vs-ja avatar Apr 28 '25 08:04 frederick-vs-ja

Test coverage has been added as asserts to the indicated file.

owacoder avatar Jul 02 '25 18:07 owacoder