On 2020/04/13 17:28:16, Dan Eble wrote: > On 2020/04/13 17:22:52, hanwenn wrote: > > > > If you're not interested in doing this, I might try it myself. > > > > By structuring it like this, you enforce the implementation to store the > > key/value as SCM cells, which is exactly what we want to get away from. > > OK, I didn't understand that from the description. I still think it would be > good for the iterator to have an interface that every C++ programmer expects > from an iterator.
What about using the interface that std::unordered_map provides? IIRC the ADT returns a std::pair of (key, value). https://codereview.appspot.com/561640043/