Function Subspace :: _u8 literal

auto operator""_u8(unsigned long long val) -> u8

For writing u8 literals.

Un-qualified integer literals are 32 bits large (the size of int) and signed values, unless a literal suffix modifies them, such as with _u8 which creates an unsigned 8-bit value.

Values out of range for u8 will fail to compile.

Examples

auto i = 123_u8 - (5_u8).abs();
sus_check(i == 118_u8);