|
From: Nehal S. <ns...@ix...> - 2003-10-24 10:32:42
|
Hi All-
I have a question on std::map in C++. So, here is the scenario.
struct compKey
{
EtrialId trialId;
EInternetId interId;
};
typedef std::map <compKey, unsigned int> mapVal;
mapVal::const_iterator itVal;
mapVal storeMap;
now:
(1) I want to store compKey element in the map in suach a way that I have
the fastest retrieval of the information and I guess I also need to find out
how do I find in the map so that I provide it (compKey) and it tells the
iterator.
Many thanks in advance
nehal
|