-
-
Notifications
You must be signed in to change notification settings - Fork 126
Open
Description
I attempted to implement fix for osmcode/pyosmium#66 but I'm missing few constructs in libosmium.
- Factory methods for
Multimaps. There are few approaches that I considered, but neither is without drawbacks:
- just copy&paste most of
MapFactoryto Multimap - create generic
MapFactorythat can register and create bothMapandMultimapby extending the template with one more argument, but this will break backward compatibility - create generic
MapFactoryas a "meta-template", and create separate factories forMapandMultiMap
-
Multimapinterface doesn't specifyget_allmethod (not all implementing classes implement this) so there is no way to retrieve data usingMultimapinterface, user would have to bind to specific implementation -
(probably not that important)
MultimapandMapmissiterator,begin,endtriple to make it easy to expose a way to iterate through the (key, value) pairs -
multimap/all.hppis missingmultimap/hybrid.hpp#include
Metadata
Metadata
Assignees
Labels
No labels