File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -259,6 +259,26 @@ class FrozenMultiMap {
259
259
return !pair.second .hasValue ();
260
260
});
261
261
}
262
+
263
+ typename VectorStorage::iterator vector_begin () {
264
+ assert (isFrozen () && " Can only call this in map mode" );
265
+ return storage.begin ();
266
+ }
267
+
268
+ typename VectorStorage::iterator vector_end () {
269
+ assert (isFrozen () && " Can only call this in map mode" );
270
+ return storage.end ();
271
+ }
272
+
273
+ typename VectorStorage::const_iterator vector_begin () const {
274
+ assert (isFrozen () && " Can only call this in map mode" );
275
+ return storage.begin ();
276
+ }
277
+
278
+ typename VectorStorage::const_iterator vector_end () const {
279
+ assert (isFrozen () && " Can only call this in map mode" );
280
+ return storage.end ();
281
+ }
262
282
};
263
283
264
284
template <typename Key, typename Value, typename Storage>
You can’t perform that action at this time.
0 commit comments