Lines Matching refs:unsigned
48 enum class byte : unsigned char
55 return b = byte(static_cast<unsigned char>(b) << shift);
61 return byte(static_cast<unsigned char>(b) << shift);
67 return b = byte(static_cast<unsigned char>(b) >> shift);
73 return byte(static_cast<unsigned char>(b) >> shift);
78 return l = byte(static_cast<unsigned char>(l) | static_cast<unsigned char>(r));
83 return byte(static_cast<unsigned char>(l) | static_cast<unsigned char>(r));
88 return l = byte(static_cast<unsigned char>(l) & static_cast<unsigned char>(r));
93 return byte(static_cast<unsigned char>(l) & static_cast<unsigned char>(r));
98 return l = byte(static_cast<unsigned char>(l) ^ static_cast<unsigned char>(r));
103 return byte(static_cast<unsigned char>(l) ^ static_cast<unsigned char>(r));
106 inline constexpr byte operator~(byte b) noexcept { return byte(~static_cast<unsigned char>(b)); }
119 "gsl::to_byte(t) must be provided an unsigned char, otherwise data loss may occur. "
125 inline constexpr byte to_byte_impl<true, unsigned char>(unsigned char t) noexcept
133 return to_byte_impl<std::is_same<T, unsigned char>::value, T>(t);