Created
April 13, 2017 12:08
-
-
Save pkivolowitz/83c2b675d1d042e2ff8605ae5c523cbb to your computer and use it in GitHub Desktop.
An example of iterating a proto3 map - you're welcome
This file contains 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
google::protobuf::Map<string, string>::iterator it = m.begin(); | |
while (it != m.end()) | |
{ | |
cout << it->first << " " << it->second << endl; | |
it++; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment