[libc-commits] [libc] [libc] Add aligned_alloc (PR #96586)
via libc-commits
libc-commits at lists.llvm.org
Tue Jun 25 16:18:52 PDT 2024
================
@@ -90,6 +90,11 @@ template <typename T, size_t CAPACITY> class FixedVector {
LIBC_INLINE constexpr iterator begin() { return store.begin(); }
LIBC_INLINE constexpr iterator end() { return iterator{&store[item_count]}; }
+
+ LIBC_INLINE constexpr const_iterator begin() const { return store.begin(); }
+ LIBC_INLINE constexpr const_iterator end() const {
+ return const_iterator{&store[item_count]};
+ }
----------------
PiJoules wrote:
I'll have a separate PR for this so it's rebased out of this PR.
https://github.com/llvm/llvm-project/pull/96586
More information about the libc-commits
mailing list