Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
std::ranges...or::iterator(3) C++ Standard Libarystd::ranges...or::iterator(3)

NAME
       std::ranges::transform_view::iterator::iterator	-  std::ranges::trans-
       form_view::iterator::iterator

Synopsis
	  /*iterator*/()					      requires
       (1) (since
	  std::default_initializable<ranges::iterator_t<Base>>	  =   default;
       C++20)
	  constexpr  /*iterator*/(  Parent&  parent,  ranges::iterator_t<Base>
       current (2) (since
	  );
       C++20)
	  constexpr /*iterator*/( /*iterator*/<!Const> i )

	    requires			      Const			    &&
       (3) (since
										       C++20)
	      std::convertible_to<ranges::iterator_t<V>,
	  ranges::iterator_t<Base>>;

	  Construct an iterator.

	  1) Default constructor. Value-initializes the	 underlying  iterator,
       and initializes
	  the pointer to parent	transform_view with nullptr.
	  2)  Initializes the underlying iterator with std::move(current), and
       the pointer to
	  parent with std::addressof(parent).
	  3) Conversion	from /*iterator*/<false> to  /*iterator*/<true>.  Move
       constructs
	  corresponding	members.

Parameters
	  parent  - a (possibly	const-qualified) std::ranges::transform_view
	  current - an iterator	into (possibly const-qualified)	V
	  i	  - an /*iterator*/<false>

Example
	   This	section	is incomplete
	   Reason: no example

Category:
	    * Todo no example

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

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=std::ranges::transform_view::iterator::iterator&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help