mirror of
https://github.com/SerenityOS/serenity
synced 2024-10-06 16:09:30 +00:00
AK: Add a simple TriState type
enum class TriState : u8 { False, True, Unknown };
This commit is contained in:
parent
e62a2b7cf8
commit
d64e698bf1
|
@ -72,3 +72,5 @@ static_assert(explode_byte(0xff) == 0xffffffff);
|
|||
static_assert(explode_byte(0x80) == 0x80808080);
|
||||
static_assert(explode_byte(0x7f) == 0x7f7f7f7f);
|
||||
static_assert(explode_byte(0) == 0);
|
||||
|
||||
enum class TriState : u8 { False, True, Unknown };
|
||||
|
|
Loading…
Reference in a new issue