How to rangify your code

By Tina Ulbrich

By now you probably know about ranges in C++20. You may have also watched a talk or two about how to create your own view.

But now, what do you do with that knowledge? How do you rangify your code?

If you find yourself using pre C++20 code because you don’t know where to start using ranges, this talk is for you.

I’m going to rangify different code examples and try to show you how to think in ranges. I’m going to use the standard library and the range-v3 library.





Your Privacy

By clicking "Accept Non-Essential Cookies" you agree ACCU can store non-essential cookies on your device and disclose information in accordance with our Privacy Policy and Cookie Policy.

Current Setting: Non-Essential Cookies REJECTED


By clicking "Include Third Party Content" you agree ACCU can forward your IP address to third-party sites (such as YouTube) to enhance the information presented on this site, and that third-party sites may store cookies on your device.

Current Setting: Third Party Content EXCLUDED



Settings can be changed at any time from the Cookie Policy page.