diff --git a/include/mgp.hpp b/include/mgp.hpp index 8ffeeee46..4c1a67a0a 100644 --- a/include/mgp.hpp +++ b/include/mgp.hpp @@ -435,6 +435,12 @@ class Labels { friend class Labels; public: + using value_type = Labels; + using difference_type = std::ptrdiff_t; + using pointer = const Labels *; + using reference = const Labels &; + using iterator_category = std::forward_iterator_tag; + bool operator==(const Iterator &other) const; bool operator!=(const Iterator &other) const; @@ -518,6 +524,12 @@ class List { friend class List; public: + using value_type = List; + using difference_type = std::ptrdiff_t; + using pointer = const List *; + using reference = const List &; + using iterator_category = std::forward_iterator_tag; + bool operator==(const Iterator &other) const; bool operator!=(const Iterator &other) const;