Scroll to navigation

deductionguidesforstd::ranges::transform_view(3) C++ Standard Libary deductionguidesforstd::ranges::transform_view(3)

NAME

deductionguidesforstd::ranges::transform_view - deductionguidesforstd::ranges::transform_view

Synopsis


template< class R, class F > (since C++20)
transform_view( R&&, F ) -> transform_view<views::all_t<R>, F>;


The deduction guide is provided for std::ranges::transform_view to allow deduction
from range and transformation function.


If R is a view, the deduced type is transform_view<R, F>; otherwise, the deduced
type is usually transform_view<ranges::ref_view<R>, F>.

Example


This section is incomplete
Reason: no example

2022.07.31 http://cppreference.com