Created
April 15, 2015 05:25
-
-
Save px-amaac/12d9c6d2a5cc1ad49c52 to your computer and use it in GitHub Desktop.
iterate map
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
std::map<std::string, Expression*> *param_map = getParamMap(); | |
cout << "printing param keys" << endl; | |
for(auto it = param_map->begin(); it != param_map->end(); ++it) | |
{ | |
cout << it->first << endl; | |
cout << "parameter map size " << param_map->size() << endl; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
y | |
its a parameter_map size 2 | |
y | |
its a parameter_map size 2 | |
y | |
its a parameter_map size 2 | |
y | |
its a parameter_map size 2 | |
y | |
its a parameter_map size 2 | |
y | |
its a parameter_map size 2 | |
y | |
its a parameter_map size 2 | |
y | |
its a parameter_map size 2 | |
y | |
its a parameter_map size 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment