Skip to content

charconv internal functions for wchar_t buffers - #1587

Merged
Charlie Barto (barcharcraz) merged 8 commits into
microsoft:feature/formatfrom
MattStephanson:gh-1569
Feb 4, 2021
Merged

charconv internal functions for wchar_t buffers#1587
Charlie Barto (barcharcraz) merged 8 commits into
microsoft:feature/formatfrom
MattStephanson:gh-1569

Conversation

@MattStephanson

Copy link
Copy Markdown
Contributor

Fixes #1569.

Comment thread stl/inc/xcharconv_ryu.h Outdated
@cbezault

This comment has been minimized.

@azure-pipelines

This comment has been minimized.

@StephanTLavavej Stephan T. Lavavej (StephanTLavavej) added enhancement Something can be improved format C++20/23 format labels Jan 26, 2021
Comment thread stl/inc/xcharconv_ryu.h Outdated
Comment thread stl/inc/xcharconv_ryu.h Outdated
Comment thread stl/inc/xcharconv_ryu_tables.h Outdated
Comment thread tests/std/tests/P0067R5_charconv/test.cpp
Comment thread stl/inc/xcharconv_ryu.h
 - actually call wide Ryu functions
 - Widen __[df]2s_buffered_n
 - Don't wrap memcpy calls.
 - Use ternary operator and cast for static widen.
@StephanTLavavej

Copy link
Copy Markdown
Member

I believe that this should be retargeted to feature/format as only <format> needs these widened codepaths, and there is no other ongoing work in <charconv> that will conflict - let's make sure that all of the necessary widening is suitable for <format> before the final merge into main.

@StephanTLavavej
Stephan T. Lavavej (StephanTLavavej) changed the base branch from main to feature/format February 4, 2021 04:39
Comment thread stl/inc/xcharconv_ryu_tables.h Outdated
Comment thread tests/std/tests/P0067R5_charconv/test.cpp Outdated
Comment thread tests/std/tests/P0067R5_charconv/test.cpp Outdated
Comment thread tests/std/tests/P0067R5_charconv/test.cpp
Comment thread tests/std/tests/P0067R5_charconv/test.cpp Outdated
Comment thread stl/inc/xcharconv_ryu.h
Comment thread tests/std/tests/P0067R5_charconv/wchar_test_cases.hpp Outdated
Comment thread stl/inc/xcharconv_ryu.h Outdated
Comment thread stl/inc/xcharconv_ryu.h Outdated
Comment thread stl/inc/xcharconv_ryu.h Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Something can be improved format C++20/23 format

Projects

None yet

Development

Successfully merging this pull request may close these issues.

<charconv>: allow output to wchar_t buffers

7 participants