Created
April 27, 2018 13:16
-
-
Save deque-blog/9584f4e0dca8d1110feb1b469cf7edbe to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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