Skip to content

Instantly share code, notes, and snippets.

@pkivolowitz
Created April 13, 2017 12:08
Show Gist options
  • Save pkivolowitz/83c2b675d1d042e2ff8605ae5c523cbb to your computer and use it in GitHub Desktop.
Save pkivolowitz/83c2b675d1d042e2ff8605ae5c523cbb to your computer and use it in GitHub Desktop.
An example of iterating a proto3 map - you're welcome
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