 |
stl - Iterate keys in a C++ map - Stack Overflow
Is there a way to iterate over the keys, not the pairs of a C++ map? ... Without Boost You can do this by simply extending the STL iterator for that map. For example, a mapping of strings to ints: #include typedef map ScoreMap; typedef ...
stackoverflow.com |
 |