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

FreeBSD Manual Pages

  
 
  

home | help
std::experi...tream_joiner(3) C++ Standard Libarystd::experi...tream_joiner(3)

NAME
       std::experimental::ostream_joiner::ostream_joiner   -   std::experimen-
       tal::ostream_joiner::ostream_joiner

Synopsis
	  ostream_joiner(ostream_type& stream, const DelimT&	  (1) (library
       fundamentals TS
	  delimiter);						      v2)
	  ostream_joiner(ostream_type& stream, DelimT&&		  (2) (library
       fundamentals TS
	  delimiter);						      v2)
								      (library
       fundamentals TS
	  ostream_joiner(const ostream_joiner& other) =	default;  (3) v2)
								      (implic-
       itly declared)
								      (library
       fundamentals TS
	  ostream_joiner(ostream_joiner&& other) = default;	  (4) v2)
								      (implic-
       itly declared)

	  1) Constructs	the iterator with  the	private	 ostream_type*	member
       initialized with
	  std::addressof(stream),  the	private	 delimiter  member initialized
       with delimiter, and
	  the private "first element" flag set to true.

	  2) Constructs	the iterator with  the	private	 ostream_type*	member
       initialized with
	  std::addressof(stream),  the	private	 delimiter  member initialized
       with
	  std::move(delimiter),	and the	private	"first element"	 flag  set  to
       true.

	  3-4)	Implicitly  declared copy/move constructor that	copy/move con-
       structs the private
	  stream pointer, delimiter, and "first	element" flag members.

Parameters
	  stream    - the output stream	to be accessed by this iterator
	  delimiter - the delimiter to be inserted into	the stream in  between
       two outputs
	  other	     -	the ostream_joiner object from which this object is to
       be copy-	or
		      move-constructed

Example
	   This	section	is incomplete
	   Reason: no example

http://cppreference.com		  2022.07.31	 std::experi...tream_joiner(3)

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

home | help