Namespaces
Variants
Views
Actions

deduction guides for std::ranges::enumerate_view

From cppreference.com
 
 
Ranges library
Range adaptors
 
 
Defined in header <ranges>
template< class R >
enumerate_view( R&& ) -> enumerate_view<views::all_t<R>>;
(since C++23)

The deduction guide is provided for std::ranges::enumerate_view to allow deduction from range.

[edit] Example