Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

A Safer Iteration Model for C++ - Flux Library Introduction

cpponsea via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore a comprehensive conference talk on developing a safer iteration model for C++ presented by Tristan Brindle at C++ on Sea 2023. Delve into the challenges of traditional iterators, including out-of-bounds memory access and unexpected invalidation. Discover Flux, a new C++20 library offering a safer abstraction for sequence iteration while maintaining compatibility with existing code. Examine performance implications, potential benefits over C++20 Ranges, and additional quality-of-life improvements. Gain insights into making codebases more resilient, particularly for those interested in STL, ranges, and algorithms in C++20.

Syllabus

Intro
STL Iteration
What is Safety
Undefined Behavior
Iteration via Indices
Iteration via Signed Indices
Iteration via Min Indices
Flux
Iteration Operations
Sequences
Bounded sequences
Algorithms
Flux Pipelines
Flux Pipeline Example
Flux Sequence Adapters
Implementation

Taught by

cpponsea

Reviews

Start your review of A Safer Iteration Model for C++ - Flux Library Introduction

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.