Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
A protected function that stores _Gbeg in the beginning pointer, _Gnext in the next pointer, and _Gend in the end pointer for the input buffer.
void setg( 
   char_type *_Gbeg, 
   char_type *_Gnext, 
   char_type *_Gend 
);
Parameters
- _Gbeg 
 A pointer to the beginning of the buffer.
- _Gnext 
 A pointer to somewhere in the middle of the buffer.
- _Gend 
 A pointer to the end of the buffer.
Requirements
Header: <streambuf>
Namespace: std