W3cubDocs

/C++

deduction guides for std::ranges::cartesian_product_view

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

© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/w/cpp/ranges/cartesian_product_view/deduction_guides