I really like std::byte as a distinct type that implements the concept of byte as specified in the C++ language definition. What I don't like is the f ...
I really like std::byte as a distinct type that implements the concept of byte as specified in the C++ language definition. What I don't like is the f ...
According to std::byte's documentation on cppreference, the implementation of operator| for std::byte should be equivalent to (Operators &, ^, ...
I know I can use reinterpret_cast, but it seems weird that I can not go from char to "universal" type like std::byte. Is this just unfortunate mistake ...