W3cubDocs

/C++

deduction guides for std::ranges::join_view

template<class R>
explicit join_view(R&&) -> join_view<views::all_t<R>>;
(since C++20)

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

Example

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