diff --git a/libs/util/include/psemek/util/flat_list.hpp b/libs/util/include/psemek/util/flat_list.hpp index 655092f2..8a0a4011 100644 --- a/libs/util/include/psemek/util/flat_list.hpp +++ b/libs/util/include/psemek/util/flat_list.hpp @@ -34,6 +34,9 @@ namespace psemek::util std::size_t capacity() const { return capacity_; } bool empty() const { return size_ == 0; } + T * data() { return nodes_.get(); } + T const * data() const { return nodes_.get(); } + void reserve(std::size_t size); void clear();