|
-
May 22nd, 2015, 08:16 AM
#1
stl map with two keys
Hi,
I have a map with two keys:
std::map<std:: pair<string, u32>, CPGW::CreateSessInfo> CPGW::m_mSessionId2CCRNum2CreateSessionInfo;
Now some where in the code:
{
std::map<std:: pair<string, u32>, CPGW::CreateSessInfo>::iterator it;
it = m_mSessionId2CCRNum2CreateSessionInfo.find(std::make_pair(sessionid, ccreqnum));
}
iterator is giving some wrong garbage.
Could some stl c++ experts help me with your knowlwdge please. Pardon me for my basic question..
Also help in improving the code is appreciated..
thanks,
pdk
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|