Implementing the C++ Standard Library Proposal for any_view - Patrick Roberts - C++Now 2025
Автор: CppNow
Загружено: 2025-09-25
Просмотров: 1277
https://www.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: https://github.com/boostcon/cppnow_pr...
Join think-cell as a C++ Developer and work on cutting-edge challenges with a focus on code excellence, innovation, and working alongside an international team of experts — apply now to be part of a team shaping the future of business presentations. https://www.think-cell.com/en/career
---
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 - 27th April - 1st 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 - https://www.cppnow.org
/ cppnow
/ cppnow
/ cppnow
/ cppnow
https://mastodon.social/@cppnow
Video Sponsors: think-cell and Bloomberg
---
Videos Filmed & Edited By Bash Films: https://bashfilms.com/
YouTube Channel Managed & Optimized By Digital Medium Ltd: https://events.digital-medium.co.uk
---
#ranges #algorithms #boost #cpp #cplusplus #programming #coding #softwareengineering #softwaredeveloper #code #cplusplusprogramming #cplusplustutorial #cplus #softwaredevelopment
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: