protected member function
Pointer to current position of input sequence
Returns a reference to the current element of the controlled input sequence (i.e., the "get pointer").
The controlled input sequence is directly available (either in part or in its entirety) for other members of the class through three pointers returned by the following protected member functions:
- eback: Beginning of accessible input sequence
- gptr: Current position in input sequence ("get pointer")
- egptr: End of accessible input sequence
Parameters
none
Return Value
A reference to the current element in the input sequence.
Basic template member declaration
( basic_streambuf<charT,traits> )
1 2
|
typedef charT char_type;
char_type *gptr ( ) const;
|
See also
streambuf::eback | Pointer to beginning of input sequence (protected member function) |
streambuf::pptr | Pointer to current position of output sequence (protected member function) |
|