1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 07:07:44 +00:00

AK: Bring back FixedArray<T>

Let's bring this class back, but without the confusing resize() API.
A FixedArray<T> is simply a fixed-size array of T.

The size is provided at run-time, unlike Array<T> where the size is
provided at compile-time.
This commit is contained in:
Andreas Kling 2021-07-11 17:16:13 +02:00
parent 846685fca2
commit 88c8451973
4 changed files with 145 additions and 0 deletions

View file

@ -21,6 +21,7 @@ set(AK_TEST_SOURCES
TestEndian.cpp
TestEnumBits.cpp
TestFind.cpp
TestFixedArray.cpp
TestFormat.cpp
TestGenericLexer.cpp
TestHashFunctions.cpp