Explore the evolution of C++ element removal techniques in this 21-minute conference talk from ACCU 2022. Delve into the intricacies of the erase-remove(_if) idiom, a staple for seasoned C++ developers using STL. Discover why this seemingly simple task of removing elements from a collection based on a predicate can be fraught with potential pitfalls that even modern compilers and static analysis tools fail to detect. Learn about the safer and more efficient alternative introduced in C++20, offering a 100% secure and streamlined approach. Gain insights from Victor Ciura, a Principal Engineer at CAPHYON and Microsoft MVP, as he shares his expertise in modernizing C++ codebases and developing tools to enhance this process.
Overview
Syllabus
Remove This Idiom - Victor Ciura - ACCU 2022
Taught by
ACCU Conference