llvm-project icon indicating copy to clipboard operation
llvm-project copied to clipboard

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

Open var-const opened this issue 4 years ago • 1 comments

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 avatar Jan 11 '22 05:01 var-const

I'd like to work on this issue.

Long5hot avatar May 02 '23 08:05 Long5hot