Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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