Overview
Explore the intricacies of the filter view, one of the most important and surprising C++ standard views introduced in C++20, in this comprehensive conference talk from Meeting C++ 2023. Delve into the key aspects of filtering elements in ranges and views, understanding the design choices, trade-offs, and potential pitfalls. Learn about the good reasons behind the filter view's design and the compromises made to balance different requirements. Discover how to avoid surprising compile-time errors and non-intuitive runtime errors caused by undefined behavior. Gain essential knowledge for successfully implementing filter views in your C++ projects, uncovering important insights you may not have expected when working with views and the filter view.
Syllabus
Using the filter view in practice - Nicolai Josuttis - Meeting C++ 2023
Taught by
Meeting Cpp