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

YouTube

Implementing the C++ Standard Library Proposal for any_view

CppNow via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Explore the design and implementation of std::ranges::any_view, a proposed addition to the C++ standard library that provides a flexible, type-erased view for wrapping any viewable range object. Learn how this new type abstracts away specific concrete types of underlying containers, enabling developers to define appropriate API boundaries for range adaptor pipelines while maintaining performance through optimized type erasure. Discover the reference implementation added to the Beman project through real-world examples and understand how any_view fits into the broader context of C++'s evolving ranges library. Examine the trade-offs and challenges faced during design and implementation, including considerations for type safety, efficiency, and compatibility with existing ranges features. Gain insights into practical applications of type-erased views and explore the future potential of range-based programming in modern C++, with guidance from Patrick Roberts, a professional engineer specializing in high-frequency trading software and AI tensor accelerator development.

Syllabus

Implementing the C++ Standard Library Proposal for any_view - Patrick Roberts - C++Now 2025

Taught by

CppNow

Reviews

Start your review of Implementing the C++ Standard Library Proposal for any_view

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.