Error when instantiating std::stringstream
with character types other than char
or wchar_t
#53119
Labels
libc++
libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi.
See Compiler Explorer link (made by @Quuxplusone) -- attempting to instantiate
std::stringstream
with character types other thanchar
orwchar_t
leads to errors. This includessigned
/unsigned char
andchar_{8,16,32}_t
. Apparently, the issue is that thestd::ctype
template relies on specializations (which are only defined forchar
andwchar_t
) and doesn't provide a definition for the main template.The text was updated successfully, but these errors were encountered: