From C++17, there is a std::byte that implements the concept of byte as specified in the C++ language definition.
We use uint8_t in the C++ runtime library, for example in the BitBuffer, BitStreamReader or BitStreamWriter. It seems that it will be better to use consistently std::byte instead. It will be necessary to check all sources in the runtime library because of that.
From C++17, there is a
std::byte
that implements the concept of byte as specified in the C++ language definition.We use
uint8_t
in the C++ runtime library, for example in theBitBuffer
,BitStreamReader
orBitStreamWriter
. It seems that it will be better to use consistentlystd::byte
instead. It will be necessary to check all sources in the runtime library because of that.