basic_streambuf& operator=(const basic_streambuf& rhs);
Effects: Assigns the data members of rhs
to *this.
Postconditions:
eback() == rhs.eback()
gptr() == rhs.gptr()
egptr() == rhs.egptr()
pbase() == rhs.pbase()
pptr() == rhs.pptr()
epptr() == rhs.epptr()
getloc() == rhs.getloc()
void swap(basic_streambuf& rhs);
Effects: Swaps the data members of rhs
and *this.