Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- auto it = find(v.begin(),v.end(), name, [](const pair<string, string> &a,const string b)
- {
- return a.first == b;
- }); // name contains the string to find.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement