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

Error when instantiating std::stringstream with character types other than char or wchar_t #53119

Open
var-const opened this issue Jan 11, 2022 · 1 comment
Labels
libc++ libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi.

Comments

@var-const
Copy link
Member

See Compiler Explorer link (made by @Quuxplusone) -- attempting to instantiate std::stringstream with character types other than char or wchar_t leads to errors. This includes signed / unsigned char and char_{8,16,32}_t. Apparently, the issue is that the std::ctype template relies on specializations (which are only defined for char and wchar_t) and doesn't provide a definition for the main template.

@var-const var-const added the libc++ libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi. label Jan 11, 2022
@Long5hot
Copy link
Contributor

Long5hot commented May 2, 2023

I'd like to work on this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
libc++ libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi.
Projects
None yet
Development

No branches or pull requests

3 participants