std::ranges::adjacent_transform_view<V,F,N>::adjacent_transform_view - cppreference.com (original) (raw)
| adjacent_transform_view() = default; | (1) | (since C++23) |
|---|---|---|
| constexpr explicit adjacent_transform_view( V base, F fun ); | (2) | (since C++23) |
Constructs an adjacent_transform_view.
- Move constructs the underlying data members: fun_ with std::move(fun) and inner_ with std::move(base).
[edit] Parameters
| base | - | the underlying view |
|---|---|---|
| fun | - | the N-ary transformation function |