24 December 2023

C++ 核心指南目录

“Use std::byte to refer to byte values that do not necessarily represent characters”

理由

char* 标识指向非字符的数值的指针,会引起混淆,阻碍数值的优化。