Price your future right. 60% off with code BLACKSCHOLES at USD checkout. Offer ends in 8d 09h 54m 27s8 days 9 hours 54 minutes 27 seconds.
Price your future right. 60% off with code BLACKSCHOLES at USD checkout. Offer ends in 8d 09h 54m 27s8 days 9 hours 54 minutes 27 seconds.

Sign in to watch this lesson
The STL from the Inside · 4:38
Iterators are the small shared idea that lets dozens of standard algorithms work on any container without knowing what it is. We walk "Mary had a little lamb" with half-open [begin, end) ranges and Stroustrup's find_all, climb the ladder of iterator categories (checked with the C++20 concepts on a Mac), count 20 comparisons for lower_bound against more than 600,000 for find, and see why remove never shrinks a vector.