Why iterators got it all wrong
summary
Explains problems with C++ iterators as an abstraction and how their design leads to complexity and errors; examines concrete issues such as iterator invalidation, category-based interfaces (input/output/forward/bidirectional/random-access), and limitations for modern use cases. Discusses alternative approaches and techniques in C++ to avoid iterator-related pitfalls, referencing practical examples and language features from contemporary C++.
AI-written summary · about
related talks
01h 02mBack to Basics: Iterators in C++
58mUnderstanding and Mastering C++'s Complexity
01h 01mBack to Basics: C++ API Design
01h 30m50 shades of C++
44mThis is why we can('t) have nice things
01h 05mThe real problem of C++
01h 00mSTL Features And Implementation Techniques
01h 03mWriting sustainable software. The how and the what!
