std::istrea...ator++(int)(3)
π NAME π
okay so bestie, welcome to the C++ Standard Libary page for std::istreambuf_iterator::operator++,operator++(int). The official NAME line is literally:
std::istreambuf_iterator::operator++,operator++(int) - std::istreambuf_iterator::operator++,operator++(int)
The page header is std::istrea...ator++(int)(3) β and yes, the manual name is spelled Libary in the source, so we keep that spelling. it's giving retro typo realness. π
β¨ Synopsis β¨
istreambuf_iterator& operator++(); (1)
/* proxy */ operator++( int ); (2)
So here's the tea: this advances the iterator by calling sbuf_->sbumpc() where sbuf_ is the stored pointer to the stream buffer. π¦
bestie, important warning: the behavior is undefined if the iterator is an end-of-stream iterator. like, do not do that. π
πΈ Parameters πΈ
- (none) β literally no parameters, she takes nothing. π«Ά
π Return value π
*thisβ yes, returns*this. slay.- A proxy object holding the current character obtained via
operator*()and thesbuf_pointer. Dereferencing a proxy object withoperator*yields the stored character. The nameproxyis for exposition only. β¨
π₯ Exceptions π₯
May throw implementation-defined exceptions. so that's a "depends on the implementation" situation, no cap. π
okay bye bestie π«Ά this page came from http://cppreference.com, dated 2024.06.10, with the footer page tag std::istrea...ator++(int)(3). π
π¦ 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