Skip to content

Instantly share code, notes, and snippets.

@nhocki
Created January 20, 2010 03:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nhocki/281573 to your computer and use it in GitHub Desktop.
Save nhocki/281573 to your computer and use it in GitHub Desktop.
set<int>f,s,tmp;
set_intersection(all(f),all(s), inserter(tmp, tmp.begin()));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment