Skip to main content

All Questions

6 votes
2 answers
326 views

Create a 2 way mapping to allow you to stringify enums or map one enum to another

I've created a class that creates key->value pairs but also value->key pairs - i.e. a reversible hash-map. This is because I want to be able to switch between corresponding members of 2 enums ...
Greedo's user avatar
  • 2,395