A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://en.cppreference.com/w/cpp/language/../header/../io/basic_streambuf/gptr.html below:

std::basic_streambuf<CharT,Traits>::eback, gptr, egptr - cppreference.com

char_type* eback() const;

(1)

char_type* gptr() const;

(2)

char_type* egptr() const;

(3)

Returns pointers defining the get area.

1) Returns the pointer to the beginning of the get area.

2) Returns the pointer to the current character (get pointer) in the get area.

3) Returns the pointer one past the end of the get area.

[edit] Parameters

(none)

[edit] Return value

1) The pointer to the beginning of the get area.

2) The pointer to the current character (get pointer) in the get area.

3) The pointer one past the end of the get area.

[edit] 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 from gptr, characters can be put back until eback.

[edit] Example [edit] See also returns a pointer to the beginning, current character and the end of the put area
(protected member function) [edit]

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4