Skip to content

Instantly share code, notes, and snippets.

@deque-blog
Created April 8, 2017 13:50
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 deque-blog/dc2d82804c8718e7e4e11d5979f523de to your computer and use it in GitHub Desktop.
Save deque-blog/dc2d82804c8718e7e4e11d5979f523de to your computer and use it in GitHub Desktop.
std::vector<std::tuple<int, int>> inputs = ...;
std::vector<std::tuple<int, int>> expected = ...;
custom_sort(begin(inputs), end(inputs));
ASSERT_EQ(expected, inputs);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment