Commit Graph

5 Commits

Author SHA1 Message Date
ab95363f51 Made some of the if statements constexpr to dodge compiler errors for non-copyable or non-movable objects 2025-07-07 22:43:13 +10:00
609cbbcb64 Added basic iterator functions 2025-06-26 16:24:18 +10:00
18062cd3eb Added tracing logs to darray when creating/destroying/copying/moving/(re)allocating 2025-06-26 13:14:55 +10:00
cd1430d258 Added initializer list constructor
Added array push back functions for iterator-style, base-length style and other darrays
Added check to constructors to ensure that allocation of the memory succeeded before setting values
Added changetag function and a default tag for initializer list constructor
2025-06-24 15:34:26 +10:00
f07977ff06 Implemented a dynamic array object that uses 24 bytes on the stack versus std::vector's 32. It uses basalt_memory module to allocate and free itself, thus requiring a tag. It is not atomic or thread-safe. 2025-06-23 00:35:18 +10:00