mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-10-26 14:57:54 +03:00
AK: Add a simple TriState type
enum class TriState : u8 { False, True, Unknown };
This commit is contained in:
parent
e62a2b7cf8
commit
d64e698bf1
Notes:
sideshowbarker
2024-07-19 12:40:22 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/d64e698bf1b
@ -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 New Issue
Block a user