Another way of looking at C++ reverse iterators

· Raymond Chen · Nov. 12, 2021, 3 p.m.
Summary
C++ has this thing called a reverse_iterator that takes a regular iterator and goes in the opposite direction. You might think that an iterator and its reverse point to the same thing, and it’s just the increment and decrement operators that are reversed, The post Another way of looking at C++ reverse iterators appeared first on The Old New Thing....
AUTHOR
Sponsored
Zulip logo Zulip
Organized team chat for people who take work seriously. Topic-based threading keeps conversations focused.
Try Zulip
Become a sponsor →