Missing (and Future?) C++ Range Concepts - Jonathan Müller - C++Now 2025 @CppNow
Missing (and Future?) C++ Range Concepts - Jonathan Müller - C++Now 2025  @CppNow
Uploaded August 2025 | Updated December 2026, 3 hours ago
https://www.cppnow.org​
---

Missing (and Future?) C++ Range Concepts - Jonathan Müller - C++Now 2025
---

Iterators and ranges have been essential parts of the C++ standard library since its inception. With C++20, they were brought to the next level in the form of `std::ranges`: We now have formalized requirements on the algorithms, lazy views to enable pipelines, and much more powerful iterators. Since then, more and more views and algorithms have been added in C++23.

However, the fundamental concepts have mostly been left unchanged, even though there are still some rough edges. This talk explores new kinds of ranges that are not possible with the existing C++ range concepts. We will first look at compile-time-sized, approximately sized, and infinite ranges, then at noncontiguous ranges with contiguous chunks. Finally, we will explore an optimization to make many algorithms much more efficient by using a pushed-based `for_each_while(rng, sink)` customization point instead of pull-based iterators.

Optimization gives us a glimpse into a world where ranges are no longer constrained by iterators, enabling heterogeneous ranges of multiple types. Heterogeneous ranges allow us to use types like `std::tuple` in range algorithms, do type-based metaprogramming using regular views, and efficiently handle ranges over polymorphic types. This truly takes the power of ranges to the next level!
---

Slides: github.com/boostcon/cppnow_presentations_2025/blob/main/Presentations/Missing_and_Future_Cpp_Range_Concepts.pdf

Join think-cell as a C++ Developer and work on cutting-edge challenges with a focus on code excellence, innovation, and working alongside an international team of experts — apply now to be part of a team shaping the future of business presentations. think-cell.com/en/career
---

Jonathan Müller

Jonathan is a Software Engineer at think-cell. There, he is responsible for maintaining think-cell's core libraries, which include a custom range library, a fast and convenient JSON parser, and many other utilities and data structures to write elegant C++ code. Before working at think-cell, he wrote many useful open-source C++ libraries. Jonathan is also a member of the C++ standardization committee, where he serves as the chair of the std::ranges study group and is a frequent conference speaker.


---

C++Now 2026 - 27th April - 1st May
C++Now is an annual onsite international C++ programming and coding conference held in Aspen, Colarado. For all C++ developers, C++ software engineers and those involved with the C++ language, CppNow provides an indepth and technical content provided by the best and brightest C++ experts of the C++ world.
Annual CppNow Conference - cppnow.org
linkedin.com/company/cppnow​
twitter.com/cppnow
facebook.com/CppNow
reddit.com/r/CppNow
https://mastodon.social/@cppnow
Video Sponsors: think-cell and Bloomberg
---

Videos Filmed & Edited By Bash Films: bashfilms.com
YouTube Channel Managed & Optimized By Digital Medium Ltd: events.digital-medium.co.uk
---

#ranges #algorithms #boost #cpp #cplusplus #programming #coding #softwareengineering #softwaredeveloper #code #cplusplusprogramming #cplusplustutorial #cplus #softwaredevelopment
Missing (and Future?) C++ Range Concepts - Jonathan Müller - C++Now 2025Testing Everything in Constexpr - Braden Ganetsky - C++Now 2026Lightning Talk: Immovable C++ Objects? In My Vector? - Likelier Than You Think - Robert LeahyExpressive Compile-Time Parsers in C++ - Alon Wolf - C++Now 2024Harnessing constexpr - A Path to Safer C++ - Mikhail Svetkin - C++Now 2025Lightning Talk: Christie Mystique - Tony Van Eerd - CppNow 2023Lightning Talk: ?: - Jonathan Müller - C++Now 2026Developing Better C++ Code by Isolating Decisions - Michael Okyen - C++Now 2024Lock-free Programming is Dead - Long Live Lock-free Programming! - Fedor G Pikus - C++Now 2026Mistakes to Avoid When Writing C++ Projects - Bret Brown - C++Now 2024Keynote: Multidimensional Parallel Standard C++ - Mark Hoemmen - C++Now 2026Lightning Talk: When Weird Things Happen - Ruslan Arutyunyan - C++Now 2026
CppNow |

Missing (and Future?) C++ Range Concepts - Jonathan Müller - C++Now 2025

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER