std::basic_...ambuf::pptr,(3)
π
std::basic_...ambuf::pptr,(3) π
okay so bestie, this page is from the C++ Standard Libary manual (yes, that's how the header spells it β not my typo π). It's all about three protected member functions that hand you pointers for the put area, and honestly it's short but useful. π«Ά
πΈ NAME πΈ
std::basic_streambuf::pbase, std::basic_streambuf::pptr β these are the names on the NAME line. The line is kind of doing the most: it repeats them with commas and a hyphen, like std::basic_streambuf::pbase,std::basic_streambuf::pptr, - std::basic_streambuf::pbase,std::basic_streambuf::pptr,. Also std::basic_streambuf::epptr shows up in the synopsis, so don't get confused, bestie. π
π¦ Synopsis π¦
protected: (1)
char_type* pbase() const;
protected: (2)
char_type* pptr() const;
protected: (3)
char_type* epptr() const;
Returns pointers defining the put area. That's the whole vibe. β¨
- Returns the pointer to the beginning ("base") of the put area.
- Returns the pointer to the current character (put pointer) in the put area.
- Returns the pointer one past the end of the put area.
π Parameters π
(none) β literally no parameters, bestie. Not a single one. π
β¨ Return value β¨
- The pointer to the beginning of the put area.
- The pointer to the current character (put pointer) in the put area.
- The pointer one past the end of the put area.
π Example π
This section is incomplete Reason: no example
no example bestie, it's giving placeholder energy π
π See also π
eback,gptr,egptrβ returns a pointer to the beginning, current character and the end of the get area.egptris marked as a protected member function.
(the See also block in the original is word-wrapped kinda feral, but those are the names and that's the description π« )
π§ Category π§
- Todo no example
π that's the page, bestie! source/version: http://cppreference.com Β· date: 2024.06.10 Β· page: std::basic_...ambuf::pptr,(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