Scroll to navigation

std::ranges::zip_transform_view::begin(3) C++ Standard Libary std::ranges::zip_transform_view::begin(3)

NAME

std::ranges::zip_transform_view::begin - std::ranges::zip_transform_view::begin

Synopsis

constexpr auto begin(); (1) (since C++23) constexpr auto begin() const (2) (since C++23) requires ranges::range<const ranges::zip_view<Views...>>;

Obtains the beginning iterator of zip_transform_view.

1) Equivalent to return /*iterator*/<false>(*this, zip_.begin());. 2) Equivalent to return /*iterator*/<true>(*this, zip_.begin());.

Parameters

(none)

Return value

Iterator to the first element.

Notes

ranges::range<const ranges::zip_view<Views...>> is modeled if and only if for every type Vi in Views..., const Vi models range.

Example


This section is incomplete
Reason: no example

See also

end returns an iterator or a sentinel to the end
(public member function) ranges::begin returns an iterator to the beginning of a range (C++20) (customization point object)

2026.11.10 http://cppreference.com