mirror of
https://github.com/RGBCube/serenity
synced 2025-07-29 04:07:34 +00:00
AK: Add an ArbitrarySizedEnum template
This is an enum-like type that works with arbitrary sized storage > u64, which is the limit for a regular enum class - which limits it to 64 members when needing bit field behavior. Co-authored-by: Ali Mohammad Pur <mpfard@serenityos.org>
This commit is contained in:
parent
8b2361e362
commit
22308e52cf
3 changed files with 248 additions and 0 deletions
|
@ -2,6 +2,7 @@ set(AK_TEST_SOURCES
|
|||
TestFixedPoint.cpp
|
||||
TestAllOf.cpp
|
||||
TestAnyOf.cpp
|
||||
TestArbitrarySizedEnum.cpp
|
||||
TestArray.cpp
|
||||
TestAtomic.cpp
|
||||
TestBadge.cpp
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue