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

FreeBSD Manual Pages

  
 
  

home | help
std::insert...ert_iterator(3) C++ Standard Libarystd::insert...ert_iterator(3)

NAME
       std::insert_iterator::insert_iterator	-    std::insert_iterator::in-
       sert_iterator

Synopsis
	  insert_iterator( Container& c,  typename  Container::iterator	 i  );
       (until C++20)
	  constexpr	      insert_iterator(		Container&	    c,
       (since C++20)
	  ranges::iterator_t<Container>	i );

	  Initializes the underlying pointer to	the container to  std::addres-
       sof(c) and the
	  underlying iterator to i.

Parameters
	  c - container	to initialize the inserter with
	  i - iterator to initialize the inserter with

	 Defect	reports

	  The following	behavior-changing defect reports were applied retroac-
       tively to
	  previously published C++ standards.

	    DR	      Applied	  to		   Behavior    as    published
       Correct behavior
			     default constructor was provided  as  C++20   re-
       moved along with	the
	  P2325R3  C++20       iterators				   re-
       quirement
			     must be default_initializable

http://cppreference.com		  2022.07.31	 std::insert...ert_iterator(3)

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

home | help