
Episode 0: Our Favorite Algorithms
ADSP: Algorithms + Data Structures = Programs
00:00
C++ 17
C++ 20 introduced ranges, which is a more powerful idiom for composing algorithms. One of the reasons that we introduced string view into C ++ 17 was to allow you to write an algorithm like this more efficiently. But there's kind of a little bit of a problem with split view. The issue is what type of iterators that sequence of sequence gives you. And so instead of returning a string view, you can return a vector of string views or perhaps even something better than a vector.
Play episode from 17:00
Transcript


