std::basic_...f::operator=(3)
π NAME π
std::basic_streambuf::operator= β bestie, it's the assignment operator for std::basic_streambuf, coming at you straight from the C++ Standard Libary (that's the manual name, we're not gonna argue with the header ok π).
β¨ Synopsis β¨
basic_streambuf& operator=( const basic_streambuf& other ); (since C++11)
So the way this works is: it assigns the data members of other to *this. That's the whole vibe, no cap. β¨
π Parameters π
otherβ the stream buffer you're assigning from π«Ά
πΈ Return value πΈ
*this β yes queen, it returns itself, main character energy fr fr π
π¦ Exceptions π¦
May throw implementation-defined exceptions. So like... it might throw, and what exactly gets thrown is up to the implementation?? not me being vague, that's literally what the page says π
π Example π
This section is incomplete Reason: no example
Literally nothing here bestie, the example section is giving ghost town π»π
β Category β
- Todo no example
(iykyk β someone's gotta fix that, and today it's not us π)
<div>πΈ</div>
okay that's the whole page!! short and sweet, lowkey iconic π¦
source/version: http://cppreference.com β version 2024.06.10, and it's filed under std::basic_...f::operator=(3) (the footer truncates the name like that, we don't make the rules π). byeee, go assign some stream buffers bestie ππ
π¦ where this page comes from
- nixpkgs unstable: stdman 2024.07.05
- opensuse-leap 16.0: stdman 2024.07.05-bp160.1.9 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms