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

FreeBSD Manual Pages

  
 
  

home | help
std::basic_iostream::swap(3)  C++ Standard Libary std::basic_iostream::swap(3)

NAME
       std::basic_iostream::swap - std::basic_iostream::swap

Synopsis
	  protected:			       (since C++11)
	  void swap( basic_iostream& other );

	  Exchanges  the state with another input/output stream	object.	Effec-
       tively calls
	  basic_istream<CharT,Traits>::swap(other).

	  This member function is protected: it	is called by the  swap	member
       functions of the
	  derived   stream   classes   std::basic_stringstream	 and  std::ba-
       sic_fstream, which know
	  how to correctly swap	the associated stream buffers.

Parameters
	  other	- another stream to exchange the state with

Return value
	  *this

http://cppreference.com		  2022.07.31	  std::basic_iostream::swap(3)

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

home | help