bsl::basic_syncbuf::setg

Setting the three read area pointers.

Synopsis

Declared in <bslstl_syncbuf.h>

void
setg(
    char_type* __gbeg,
    char_type* __gnext,
    char_type* __gend);

Parameters

NameDescription
__gbegA pointer.
__gnextA pointer.
__gendA pointer.

Postconditions

  • __gbeg == eback(), __gnext == gptr(), and __gend == egptr()