diff --git a/libs/util/include/psemek/util/flat_list.hpp b/libs/util/include/psemek/util/flat_list.hpp index 878fec9c..d17cef87 100644 --- a/libs/util/include/psemek/util/flat_list.hpp +++ b/libs/util/include/psemek/util/flat_list.hpp @@ -46,6 +46,12 @@ namespace psemek::util return reinterpret_cast(nodes_.get()); } + T * begin() { return data(); } + T const * begin() const { return data(); } + + T * end() { return begin() + capacity(); } + T const * end() const { return begin() + capacity(); } + void reserve(std::size_t size); void clear();