Implement Iterator
This commit is contained in:
1 parent
e2dde59d19
commit
4482f93895
2 files changed
+197
-7
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user