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
Like char and unsigned char, it can be used to access raw memory occupied by other objects (object representation), but unlike those types, it is not a character type and is not an arithmetic type. A byte is only a collection of bits, and the only operators defined for it are the bitwise ones.
What is the advantage of usage of std::byte instead unsigned char type? Should we use type that was invented in the first place to hold a raw byte in memory without the assumption that it's a character?
For v2 (or when merging into the IS) we should consider using std::byte instead of unsigned char.
The text was updated successfully, but these errors were encountered: