Re:Writing a custom iterator in modern C++
by glouwbug on Sunday December 20, 2020 @09:51PM
(#25491699)
Well, I mean, iterating over a deque, map, vector, and list, in its own, already require the pointer to the next element to decide whether to increment by the type of its size, reference the `next` pointer, or the left/right pointer, or a combination of any of the above 3. It's not the language's fault, it's computer science
[ Parent
| on HN ]
There are no comments on this comment yet.