deduction guides for std::ranges::cartesian_product_view

From cppreference.com
 
 
Ranges library
Range access
Range conversions
(C++23)
Range primitives



Dangling iterator handling
Range concepts
Views

Range factories
Range adaptors
Range generators
Range adaptor objects
Range adaptor closure objects
Helper items
(until C++23)(C++23)


 
 
Defined in header <ranges>
template< class... Rs >

    cartesian_product_view( Rs&&... ) ->

        cartesian_product_view<views::all_t<Rs>...>;
(since C++23)

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

Example