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

Sign in to watch this lesson
The STL from the Inside · 3:32
C++20 lets begin and end travel together as a range, and views turn ranges into lazy pipelines. With a counter inside the test, we watch filter | take pull one element at a time: nothing runs while the pipeline is built, and 8 and 0 are never examined. Then an infinite iota pipeline that still finishes, why views are only a few bytes, and what happens when a view outlives the data it looks at.