Skip to content

Instantly share code, notes, and snippets.

@deque-blog
Created April 27, 2018 13:16
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save deque-blog/9584f4e0dca8d1110feb1b469cf7edbe to your computer and use it in GitHub Desktop.
struct LinkedListIterator
{
// No tag here
};
struct VectorIterator
{
// No tag here
};
struct LinkedList
{
using iterator_type = BidirectionalIterator<LinkedListIterator>;
};
struct Vector
{
using iterator_type = RandomAccessIterator<VectorIterator>;
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment