Closed ghost closed 4 years ago
This could potentially flip maps into multimaps. What is the use case for this? Can we do away with boost bimap?
Use case: I have an std::map<std::string, MyEnumType>
. I want to get a flipped map for printing.
You know my stance on Boost. ;)
Okay, your values are guaranteed to be unique. Then I don't think there will be a problem of returning multimaps.
This would be nice to add to the Utils.hpp: