basic_streambuf::setg
basic_streambuf::setg
To set the beginning, next and end pointers.
void setg
(char_type *gbeg,
char_type *gnext,
char_type *gend);
After the call to
setg() the
gbeg pointer equals
eback(), the
gnext pointer equals
gptr(), and the
gend pointer equals
egptr().