summaryrefslogtreecommitdiff
path: root/AK/Array.h
AgeCommit message (Collapse)Author
2021-07-21AK: Sprinkle [[nodiscard]] on AK::ArrayAndreas Kling
2021-07-21AK: Convert Array to east-const styleAndreas Kling
2021-05-05AK: Export integer_sequence_generate_array()Ali Mohammad Pur
2021-05-05AK: Add min() and max() methods to Array<T, N>Ali Mohammad Pur
...That are only defined when min() and max() are defined on the elements.
2021-04-22Everything: Move to SPDX license identifiers in all files.Brian Gianforcaro
SPDX License Identifiers are a more compact / standardized way of representing file license information. See: https://spdx.dev/resources/use/#identifiers This was done with the `ambr` search and replace tool. ambr --no-parent-ignore --key-from-file --rep-from-file key.txt rep.txt *
2021-03-21AK: Fix integer_sequence_generate_arrayHendiadyoin1
It was for some reason Architecture dependent. Now we use size_t instead of unsinged long
2021-02-27AK: Always do bounds checking in Array::operator[]Andreas Kling
2021-02-23Everywhere: Rename ASSERT => VERIFYAndreas Kling
(...and ASSERT_NOT_REACHED => VERIFY_NOT_REACHED) Since all of these checks are done in release builds as well, let's rename them to VERIFY to prevent confusion, as everyone is used to assertions being compiled out in release. We can introduce a new ASSERT macro that is specifically for debug checks, but I'm doing this wholesale conversion first since we've accumulated thousands of these already, and it's not immediately obvious which ones are suitable for ASSERT.
2021-02-21AK: Add an implementation of Array<T, Size>::fill(...)Brian Gianforcaro
2021-02-08AK: Add an iota_array() function that can generate an arrayAnotherTest
...of increasing values with an optional offset.
2021-01-02AK: Remove redundant compare() functions.asynts
2020-09-21AK: Add template deduction guides for Array.asynts
2020-09-08AK: Add Array<T, Size> template.asynts