Overview
Explore a safer iteration model for C++ in this conference talk from CppCon 2023. Delve into the challenges posed by traditional iterators, including out-of-bounds memory accesses and unexpected invalidation. Discover Flux, a new C++20 library that offers a safer abstraction for iterating over sequences while maintaining compatibility with existing code. Examine the performance implications of universal bounds checking and learn how Flux can potentially outperform C++20 Ranges in certain scenarios. Gain insights into making your codebase more resilient and explore quality-of-life improvements offered by this alternative approach to iteration in C++.
Syllabus
Iteration Revisited: A Safer Iteration Model for Cpp - Tristan Brindle - CppCon 2023
Taught by
CppCon