diff --git a/hilti/runtime/include/types/vector.h b/hilti/runtime/include/types/vector.h index 0b0845d5a..95cc1d327 100644 --- a/hilti/runtime/include/types/vector.h +++ b/hilti/runtime/include/types/vector.h @@ -490,6 +490,9 @@ class Vector : protected std::vector { auto cbegin() const { return const_iterator(0U, _control); } auto cend() const { return const_iterator(size(), _control); } + auto unsafeBegin() const { return V::cbegin(); } + auto unsafeEnd() const { return V::cend(); } + size_type size() const { return V::size(); } // Methods of `std::vector`.