home | help
std::ranges...r::iterator(3)   C++ Standard Libary  std::ranges...r::iterator(3)

NAME
     std::ranges::adjacent_transform_view::iterator::iterator - std::ranges::ad-
     jacent_transform_view::iterator::iterator

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

	    requires Const &&					      (2) (since
     C++23)

		std::convertible_to</*inner-iterator*/<false>,
	/*inner-iterator*/<Const>>;
	private:
	constexpr /*iterator*/( Parent& parent, 		      (3) (expo-
     sition only*)
	/*inner-iterator*/<Const> inner );

	Construct an iterator.

	1) Default constructor. Value-initializes the underlying pointer parent_
     with
	nullptr, and default-initializes the underlying iterator inner_.
	2)  Conversion	from /*iterator*/<false> to /*iterator*/<true>. Initial-
     izes the
	underlying pointer parent_ with i.parent_, and move constructs	the  un-
     derlying
	iterator inner_ with std::move(i.inner_).
	3) This iterator also has a private constructor which is used by
	ranges::adjacent_transform_view::begin	  and	 ranges::adjacent_trans-
     form_view::end.
	This constructor is not accessible to users. Initializes parent_ with
	std::addressof(parent), and move constructs  inner_  with  std::move(in-
     ner).

Parameters
	i      - an /*iterator*/<false>
	parent - an owning object of type adjacent_transform_view
	inner  - an iterator of type adjacent_transform_view::inner_iterator

Example
	 This section is incomplete
	 Reason: no example

Category:
	  * Todo no example

http://cppreference.com 	   2024.06.10	    std::ranges...r::iterator(3)

home | help