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

YouTube

C++23 Ranges - Functional Programming With New View Adaptors and Other Utilities

ACCU Conference via YouTube

Overview

Explore the latest advancements in C++23 Ranges in this comprehensive conference talk from ACCU 2023. Delve into the conceptual changes and practical applications of new view adaptors and utilities. Learn how views can now own elements while remaining efficient to pass around. Discover useful algorithms and adaptors, including implementing range adaptors with std::generator, printing ranges, and utilizing std::optional's monadic interface. Gain insights from Senior Software Engineer Dvir Yitzchaki as he covers topics such as the history of Ranges, Iterator types, Empty Views, pipe operators, calendar visualizations, chunk views, windowed algorithms, and the conceptual shift to Owning Views. Enhance your C++ programming skills with practical examples and in-depth explanations of Range Adapters, Closure Objects, and writing efficient calendar functions.

Syllabus

Introduction
History of Ranges
Recap
First
InputOutput Iterator
Last
Sentinel
Range
View
Empty View
Empty Factory
Before Ranges
Pipe Operator
Calendar
Visualization
print
example
more customization
format ranges
chunk view
slide view
generic algorithm
windowed
chunkby
STD Generator
Fibonacci Example
Generator Types
Elements of
recursive generator
Conceptual Changes
Owning View
Compile Event
Concat View
Range Adapter
Closure Object
Range Adapter Closure
Range Closure Helper
Range Adapter Helper
Writing the Calendar
Summary
Examples

Taught by

ACCU Conference

Reviews

Start your review of C++23 Ranges - Functional Programming With New View Adaptors and Other Utilities

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.