A View for Any Occasion

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 … Continue reading A View for Any Occasion