Skip to content

Pass unsigned chars to the functions in <cctype> #909

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

Conversation

gennaroprota
Copy link
Contributor

@gennaroprota gennaroprota commented Jun 26, 2025

Differently from their <locale> counterparts, the functions in <cctype> and <ctype.h> have undefined behavior if their argument is not representable as an unsigned char and is not equal to EOF.

@cppalliance-bot
Copy link

An automated preview of the documentation is available at https://909.mrdocs.prtest2.cppalliance.org/index.html

@gennaroprota gennaroprota changed the title Pass unsigned chars to the functions in <cctype> Pass unsigned chars to the functions in <cctype> Jun 27, 2025
Differently from their <locale> counterparts, the functions in <cctype>
and <ctype.h> have undefined behavior if their argument is not
representable as an unsigned char and is not equal to EOF.
@gennaroprota gennaroprota force-pushed the pass_unsigned_chars_to_the_functions_in_cctype branch from d538be6 to cc278ab Compare July 11, 2025 16:29
@cppalliance-bot
Copy link

An automated preview of the documentation is available at https://909.mrdocs.prtest2.cppalliance.org/index.html

@cppalliance-bot
Copy link

An automated preview of the documentation is available at https://909.mrdocs.prtest2.cppalliance.org/index.html

@alandefreitas alandefreitas merged commit becda0c into cppalliance:develop Jul 11, 2025
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants