Skip to content

Instantly share code, notes, and snippets.

@deque-blog
Last active April 27, 2018 13:07
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/9e11bb694af4bce756b702ffc7e99dc8 to your computer and use it in GitHub Desktop.
Save deque-blog/9e11bb694af4bce756b702ffc7e99dc8 to your computer and use it in GitHub Desktop.
struct LinkedListIterator
{
using iterator_category = std::bidirectional_iterator_tag;
};
struct VectorIterator
{
using iterator_category = std::random_access_iterator_tag;
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment