Bidirectional map is associative data structure where keys and values can switch their roles.
I created a simple bidirectional map class that works by internally storing two std::map instances, with opposite key/value …
c++ c++11 data-structures map bimap