cpp/io/basic istream/swap

Calls to swap all data members of the base class except for, and swaps the values of the gcount counters between  and. This swap function is protected: it is called by the swap functions of the swappable input stream classes std and std, which know how to correctly swap the associated streambuffers.

Example
cpp/io/basic istream/swap cpp/io/basic istream/swap cpp/io/basic istream/swap cpp/io/basic istream/swap cpp/io/basic istream/swap cpp/io/basic istream/swap cpp/io/basic istream/swap cpp/io/basic istream/swap