B
bb
Hi,
Currently, am achieving 2 way mapping as follows:
typedef std::map<std::string, std::string> MapOfStrings;
MapOfStrings m1;
MapOfStrings m2;
Populating m1 & again m2 in reverse.
Is there a better way to do this using a single container?
Is there any 2 way 'map' from open source (e.g. boost) available?
Thanks.
Currently, am achieving 2 way mapping as follows:
typedef std::map<std::string, std::string> MapOfStrings;
MapOfStrings m1;
MapOfStrings m2;
Populating m1 & again m2 in reverse.
Is there a better way to do this using a single container?
Is there any 2 way 'map' from open source (e.g. boost) available?
Thanks.