##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# std::basic_streambuf::eback, gptr, egptr

From cppreference.com
< cpp‎ | io‎ | basic streambuf

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 to 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 to the end of the get area.

### [edit] Example

| This section is incomplete Reason: no example

### [edit] See also

pbase pptr epptr | returns a pointer to the beginning, current character and the end of the put area (protected member function) [edit]

Retrieved from "http://en.cppreference.com/mwiki/index.php?title=cpp/io/basic_streambuf/gptr&oldid=62371"
Category:

- Todo no example