| constexpr decltype(auto) operator*() const noexcept(/* see below */); |
(since C++23) | |
Returns the current element in the adjacent_transform_view.
Let parent_ and inner_ be the data members of the iterator. Equivalent to:
return apply([&](const auto&... iters) -> decltype(auto)
{
return invoke(*parent_->fun_, *iters...);
},
inner_.current_);Parameters
(none)
Return value
The current element.
Exceptions
Let Is be the pack 0, 1, ..., (N - 1).
noexcept specification:
noexcept(std::invoke(*parent_->fun_, *std::get<Is>(inner_.current_)...))
Example
This section is incomplete
Reason: no example
Reason: no example
See also
| (C++23) |
accesses an element by index (public member function) |
Content from this page on cppreference.com, licensed under CC-BY-SA 3.0 and GFDL. Modified: restyled, site navigation removed, code windows added. Offline snapshot of 9 February 2025.