jjzjj

wctrans_t

全部标签

c++ - 是否有任何 C 或 C++ 编译器不将 wctrans_t 和 wctype_t 定义为类型 wchar_t 的原因?

实际上,我正在比较编程语言之间的数据类型,这是我在阅读C和C++标准时遇到的问题。引用自C11,wctrans_tisascalartypethatcanholdvalueswhichrepresentlocale-specificcharactermappingswctype_tisascalartypethatcanholdvalueswhichrepresentlocale-specificcharacterclassifications短语ascalartype表示C11不限制wctrans_t和wctype_t为特定标量类型。我的MinGWGCC4.8实现了wctrans_t