If exists is there header file to include?
This code give compilation error:
#include using namespace std; int main() { byte b
Using C++11 there is a nice version for a manually defined byte type:
C++11
enum class byte : std::uint8_t {};
That's at least what the GSL does.
Starting with C++17 (almost) this very version is defined in the standard as std::byte (thanks Neil Macintosh for both).
C++17