Namespaces
Variants
Views
Actions

std::basic_streambuf::operator=

From cppreference.com
< cpp‎ | io‎ | basic streambuf
 
 
Input/output library
I/O manipulators
C-style I/O
Buffers
(deprecated in C++98)
Streams
Abstractions
File I/O
String I/O
Array I/O
(deprecated in C++98)
(deprecated in C++98)
(deprecated in C++98)
Synchronized Output
Types
Error category interface
(C++11)
 
 
basic_streambuf& operator=( const basic_streambuf& other );
(since C++11)

Assigns the data members of other to *this.

Contents

[edit] Parameters

other - stream buffer to assign

[edit] Return value

*this

[edit] Exceptions

(none)

[edit] Example