Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@cpplearner
Copy link
Contributor

@cpplearner cpplearner commented Apr 6, 2023

MSVC STL already allows multi-code-unit fill characters, but it does not check if a Unicode code unit sequence corresponds to a Unicode scalar value. This PR adds the check.

I'm not a fan of out parameters, but they get the job done here.

Fixes #3439.

@cpplearner cpplearner requested a review from a team as a code owner April 6, 2023 08:22
@StephanTLavavej StephanTLavavej added format C++20/23 format cxx23 C++23 feature labels Apr 6, 2023
@StephanTLavavej

This comment was marked as resolved.

@StephanTLavavej
Copy link
Member

I'm mirroring this to the MSVC-internal repo - please notify me if any further changes are pushed.

@StephanTLavavej StephanTLavavej merged commit ca5833c into microsoft:main Apr 14, 2023
@StephanTLavavej
Copy link
Member

Thanks for implementing this C++23 feature and improving <format>! 😻 🚀 🎉

@cpplearner cpplearner deleted the p2572r1 branch April 14, 2023 04:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cxx23 C++23 feature format C++20/23 format

Projects

None yet

Development

Successfully merging this pull request may close these issues.

P2572R1 std::format Fill Character Allowances

4 participants