W3cubDocs

/C++

std::basic_streambuf<CharT,Traits>::operator=

basic_streambuf& operator=( const basic_streambuf& other );
(since C++11)

Assigns the data members of other to *this.

Parameters

other - stream buffer to assign

Return value

*this.

Exceptions

May throw implementation-defined exceptions.

Example

© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/w/cpp/io/basic_streambuf/operator%3D