AK: Add a simple TriState type

enum class TriState : u8 { False, True, Unknown };
This commit is contained in:
Andreas Kling 2019-08-15 20:52:25 +02:00
parent e62a2b7cf8
commit d64e698bf1
Notes: sideshowbarker 2024-07-19 12:40:22 +09:00

View File

@ -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 };