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

NAME
     std::experimental::ostream_joiner::ostream_joiner	- std::experimental::os-
     tream_joiner::ostream_joiner

Synopsis
	ostream_joiner( ostream_type& stream, const DelimT& (1) (library  funda-
     mentals TS v2)
	delimiter );
	ostream_joiner(  ostream_type& stream, DelimT&&      (2) (library funda-
     mentals TS v2)
	delimiter );
	ostream_joiner( const ostream_joiner& other ) =     (3) (library  funda-
     mentals TS v2)
	default;						 (implicitly de-
     clared)
	ostream_joiner( ostream_joiner&& other ) = default; (4) (library  funda-
     mentals TS v2)
								(implicitly  de-
     clared)

	1) Constructs the iterator with the private  ostream_type*  member  ini-
     tialized 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  ini-
     tialized 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 constructs
     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

Category:
	  * Todo no example

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

home | help