constexpr auto operator[]( difference_type n ) const requires /*all-random-access*/<Const, Views...>; | (since C++23) |
Obtains a std::tuple
that consists of underlying pointed-to elements at given offset relative to current location.
Equivalent to:
return /*tuple-transform*/([&]<class I>(I& i) -> decltype(auto) { return i[iter_difference_t<I>(n)]; }, current_);
n | - | position relative to current location |
The obtained tuple-like element.
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/w/cpp/ranges/zip_view/iterator/operator_at