[ Web Proxy ]
URL:
Viewing: https://en.cppreference.com/cpp/io/basic_streambuf/operator%3D [Back]  [Original]

std::basic_streambuf<CharT,Traits>::operator= - cppreference.com
cppreference.com
Namespaces
Variants

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

From cppreference.com
 
 
Input/output library
I/O manipulators
Print functions (C++23)
C-style I/O
Buffers
(deprecated in C++98)(removed in C++26)
Streams
Abstractions
File I/O
String I/O
Array I/O
(deprecated in C++98)(removed in C++26)
(deprecated in C++98)(removed in C++26)
(deprecated in C++98)(removed in C++26)
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.

Parameters

other - stream buffer to assign

Return value

*this

Exceptions

May throw implementation-defined exceptions.

Example


Web Proxy Viewer  |  New URL  |  Original Page