##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# std::basic_streambuf::operator=

From cppreference.com
< cpp‎ | io‎ | basic streambuf

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

Assigns the data members of `other` to *this.

### [edit] Parameters

other | - | stream buffer to assign

### [edit] Return value

*this

### [edit] Exceptions

(none)

### [edit] Example

| This section is incomplete Reason: no example

Retrieved from "http://en.cppreference.com/mwiki/index.php?title=cpp/io/basic_streambuf/operator%3D&oldid=61083"
Category:

- Todo no example