Implement Iterator

This commit is contained in:
andrew committed 2024-05-08 16:54:36 -07:00
1 parent e2dde59d19
commit 4482f93895
2 files changed
+197 -7

No files matched your search

+2 -1
View File
@@ -135,6 +135,7 @@ struct VersionedMap {
struct Impl;
private:
friend struct VersionedMap;
Impl *impl = nullptr;
};
@@ -156,7 +157,7 @@ struct VersionedMap {
Iterator begin(int64_t version) const;
/** The "past-the-end" iterator. */
Iterator end() const;
Iterator end(int64_t version) const;
/** Returns the memory usage in bytes. */
int64_t getBytes() const;