Overview
Explore advanced concepts and techniques for improving C++ ranges in this comprehensive conference talk from Meeting C++ 2023. Delve into think-cell's 20-year development of a custom range library that extends beyond the standard while maintaining compatibility. Learn about innovative approaches to enhance efficiency, including a new concept surpassing iterators and allowing range adaptors to hold data for self-containment and lazy evaluation. Discover the benefits of internal iteration and how it can be seamlessly integrated into the range family. Examine ways to customize return values for more expressive code, eliminating common iterator end checks. Investigate the application of these advanced range techniques in text formatting, exploring how lazily evaluated strings can be optimized at compile-time to achieve both elegant syntax and near-manually optimized performance.
Syllabus
Better C++ ranges - Arno Schödl - Meeting C++ 2023
Taught by
Meeting Cpp