Using the Filter View in Practice - C++20 Standard Views
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only! Grab it 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.