#include #include // Required for std::filesystem #include #include using namespace std ; int main() { std::byte a1 {0}; std::byte b1 {0xFF}; //b1 = b1 + 1 ; //byte1.cpp:15:17: error: no match for ‘operator+’ (operand types are ‘std::byte’ and ‘int’) // 15 | b1 = b1 + 1 ; int i1 = std::to_integer(b1) ; // 0xFF cout << "i1:" << i1 << endl ; std::byte c1 = a1 & b1 ; int j1 = std::to_integer(c1); // 0 cout << "j1:" << j1 << endl ; return 1 ; }