Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

<string>: Fix handling for char_traits<unicorn> #4951

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

frederick-vs-ja
Copy link
Contributor

Fixes #4930. Ideally, when T is an implementation-controlled type, special handling should be enabled for char_traits<T> to reject more unintended element types. But the complete work is impractical, so this PR restricts the handling to arithmetic types and nullptr_t.

Drive-by changes:

  • Update the static_assert message to mention char8_t.
  • Resolve TRANSITION comments in <regex>, but test coverage is currently missing (which would be complicated and weird).

@frederick-vs-ja frederick-vs-ja requested a review from a team as a code owner September 12, 2024 16:36
@CaseyCarter CaseyCarter added the bug Something isn't working label Sep 12, 2024
@StephanTLavavej StephanTLavavej removed their assignment Sep 19, 2024
@StephanTLavavej StephanTLavavej self-assigned this Sep 19, 2024
@StephanTLavavej
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Ready To Merge
4 participants