Is it a good idea to index an STL map with a pair?
Posted
by jm1234567890
on Stack Overflow
See other posts from Stack Overflow
or by jm1234567890
Published on 2010-04-23T01:22:27Z
Indexed on
2010/04/23
1:23 UTC
Read the original article
Hit count: 287
Hi Everyone,
I'm just wondering if it is a good idea to make a data structure like
std::map< std::pair<int,int>,std::string >
Just wondering how the pairs would be ordered internally... :S
Thanks!
© Stack Overflow or respective owner