You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
std::byte is the standard way to represent raw memory, which we currently do with uint8_t.
std::byte avoids the temptation to use any character or arithmetic semantics, and should thus reduce the risk of dodgy memory manipulation that may otherwise be possible.
However, std::byte is not interoperable with uint8_t, so if we make the change bit-by-bit we'll end up with some awkward casting. Instead we should do a wholesale change in a single PR.
The text was updated successfully, but these errors were encountered:
std::byte
is the standard way to represent raw memory, which we currently do withuint8_t
.std::byte
avoids the temptation to use any character or arithmetic semantics, and should thus reduce the risk of dodgy memory manipulation that may otherwise be possible.However,
std::byte
is not interoperable withuint8_t
, so if we make the change bit-by-bit we'll end up with some awkward casting. Instead we should do a wholesale change in a single PR.The text was updated successfully, but these errors were encountered: