Implementing the C++ Standard Library Proposal for any_view - Patrick Roberts - C++Now 2025 @CppNow
Implementing the C++ Standard Library Proposal for any_view - Patrick Roberts - C++Now 2025  @CppNow
Uploaded September 2025 | Updated December 2026, 3 hours ago
cppnow.org
---

A View for Any Occasion - Implementing the C++ Standard Library Proposal for any_view - Patrick Roberts - C++Now 2025
---

In this talk, we will introduce a reference implementation for a proposed addition to the C++ standard library: std::ranges::any_view. This new type provides a flexible, generalized, type-erased view that can wrap any viewable range object. The any_view abstracts away the specific concrete type of the underlying container, allowing developers to define appropriate API boundaries for range adaptor pipelines. We will explore a design and implementation of std::ranges::any_view added to the Beman project, demonstrate its usage with real-world examples, and discuss how it fits into the broader context of C++'s evolving ranges library. Attendees will learn how this feature can enhance the expressiveness and reusability of their code, while maintaining performance through optimized type erasure. Additionally, we will delve into the trade-offs and challenges faced during its design and implementation, including type safety, efficiency, and compatibility with existing ranges features. This talk will provide insights into the practical applications of type-erased views and offer a glimpse into the future potential of range-based programming in C++.
---

Slides: github.com/boostcon/cppnow_presentations_2025/blob/main/Presentations/A_View_for_Any_Occasion.pdf

think-cell develops one of the world’s leading PowerPoint applications, with C++ at the core of everything we build, from layout algorithms to deep integration with Microsoft Office. Interested in working on challenging C++ problems with real-world impact? Explore our open roles: think-cell.com/en/career/tech---

Patrick Roberts

Patrick Roberts is a licensed professional engineer who graduated from the University of Houston with a Bachelor of Science in Electrical Engineering in 2017. After three years writing embedded systems firmware in C, he moved on to high frequency trading where he learned and applied modern C++ within low latency trading software. Now he implements open source device kernels for tensor accelerators to advance the development of artificial intelligence, and spends his nights pushing the limits of compilers with template metaprogramming.


---

C++Now 2026 - 4th May - 8th May
C++Now is an annual onsite international C++ programming and coding conference held in Aspen, Colarado. For all C++ developers, C++ software engineers and those involved with the C++ language, CppNow provides an indepth and technical content provided by the best and brightest C++ experts of the C++ world.
Annual CppNow Conference - cppnow.org
linkedin.com/company/cppnow
twitter.com/cppnow
facebook.com/CppNow
reddit.com/r/CppNow
https://mastodon.social/@cppnow
Video Sponsors: think-cell and Bloomberg
---

Videos Filmed & Edited By Bash Films: bashfilms.com
YouTube Channel Managed & Optimized By Digital Medium Ltd: events.digital-medium.co.uk
---

#ranges #algorithms #boost #cpp #cplusplus #programming #coding #softwareengineering #softwaredeveloper #code #cplusplusprogramming #cplusplustutorial #cplus #softwaredevelopment
Implementing the C++ Standard Library Proposal for any_view - Patrick Roberts - C++Now 2025Unlocking Modern CPU Power - Next-Gen C++ Optimization Techniques - Fedor G Pikus - C++Now 2024Keynote: Employing Senders & Receivers to Tame Concurrency in C++ Embedded Systems - Michael CaisseBalancing the Books: Access Right Tracking for C++ - Lisa Lippincott - C++Now 2025Lightning Talk: Reproducible C++ Floating-Point Reductions in CUB - Shreyas Atre - C++Now 2025How Bloomberg Built a Reusable Process For Consensus on Their Massive C++ Codebases - Sherry SontagEffective CTest - a Random Selection of C++ Best Practices - Daniel Pfeifer - C++Now 2025Lightning Talk: Reflecting Types in C++17/20 - Patrick Roberts - C++Now 2024How to Avoid Headaches with Simple CMake - Bret Brown - C++Now 2025Typed Linear Algebra - How to Not Crash on Mars - François Carouge - C++Now 2026Cutting Some Slack for our Programs - Lisa Lippincott - C++Now 2026Scaling beman.exemplar - Eddie Nolan - C++Now 2026
CppNow |

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

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER