Scroll to navigation

std::ranges::zip_view::iterator::iterator(3) C++ Standard Libary std::ranges::zip_view::iterator::iterator(3)

NAME

std::ranges::zip_view::iterator::iterator - std::ranges::zip_view::iterator::iterator

Synopsis


/*iterator*/() = default; (1) (since C++23)
constexpr /*iterator*/( /*iterator*/<!Const> i )


requires Const &&
(std::convertible_to<ranges::iterator_t<Views>, (2) (since C++23)


ranges::iterator_t</*maybe-const*/<Const, Views>>> && ...);


Construct an iterator.


1) Default constructor. Value-initializes the underlying tuple of iterators to their
default values.
2) Conversion from /*iterator*/<false> to /*iterator*/<true>. Move constructs the
underlying tuple of iterators current_ with std::move(i.current).


This iterator also has a private constructor which is used by zip_view::begin and
zip_view::end. This constructor is not accessible to users.

Parameters


i - an /*iterator*/<false>

Example


This section is incomplete
Reason: no example

Category:


* Todo no example

2024.06.10 http://cppreference.com