std::basic_...,gptr,egptr(3)
π NAME
std::basic_streambuf::eback,gptr,egptr β std::basic_streambuf::eback,gptr,egptr
okay bestie, welcome to the std::basic_...,gptr,egptr(3) page from the C++ Standard Libary manual β¨ this one is all about the pointers that define the get area, and yes the NAME line above is literally that doubled-up thing β iconic, no notes π
β¨ Synopsis β¨
Here are the signatures, bestie β copy them exactly, do not freestyle:
char_type* eback() const; (1)
char_type* gptr() const; (2)
char_type* egptr() const; (3)
Returns pointers defining the get area. Translation for the bestie:
- Returns the pointer to the beginning of the get area.
- Returns the pointer to the current character (get pointer) in the get area.
- Returns the pointer one past the end of the get area.
π«Ά Parameters
(none) β literally zero parameters, she takes no arguments and still serves π
π Return value
- The pointer to the beginning of the get area.
- The pointer to the current character (get pointer) in the get area.
- The pointer one past the end of the get area.
π§ Notes
While the names"gptr"and"egptr"refer to the get area, the name"eback"refers to the end of the putback area: stepping backwards fromgptr, characters can be put back untileback.
πΈ Example
This section is incomplete Reason: no example
they really left us hanging on this one π the manual said it itself, not me π
π See also
pbaseβ returns a pointer to the beginning, current character and the end of the put areapptrepptr(protected member function)
π Category
- Todo no example
source: http://cppreference.com, version/date: 2024.06.10 β bye bestie, go slay those get pointers π
π«Άβ¨
π¦ 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