How do I retrieve a value from a boost::bimap by key in VS C++?
Posted on 2015-01-25
First time using boost::bimap.
I have constructed the following typedef:
typedef boost::bimap<std::basic_string<TCHAR>, int> argvType;
I load values into the bimap:
for (int index = 0; index < argc; index++)
How do I retrieve a value from the bimap assuming I'm using the following key:
std::basic_string<TCHAR> fileIn = L"foo";
I want to retrieve the string value in the map associated with the key.
I know there's probably better ways to do this, but I'd like to stick with
the implementation I've started.
I would think I should be able to use a  operator or a get().
How do this?