| Issue |
53119
|
| Summary |
Error when instantiating `std::stringstream` with character types other than `char` or `wchar_t`
|
| Labels |
new issue
|
| Assignees |
|
| Reporter |
var-const
|
See [Compiler Explorer link](https://godbolt.org/z/7Kj8z3j7r) (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](https://github.com/llvm/llvm-project/blob/4eec1710c51865b47480bc63a736a3719496679d/libcxx/include/__locale#L523-L530) (which are only defined for `char` and `wchar_t`) and doesn't provide a definition for the main template.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs