更新时间:2022-04-29 02:01:32
这是设计使然,C++standard 说 char
、signed char
和 unsigned char
是不同的类型.我认为您可以使用静态转换进行转换.
It's by design, C++ standard says char
, signed char
and unsigned char
are different types. I think you can use static cast for transformation.