seekpos overloads

Synopses

Declared in <bslstl_stringbuf.h>

Alters the stream positions.

virtual
pos_type
seekpos(
    pos_type,
    ios_base::openmode = ios_base::in | ios_base::out);

Set the current input position or the current output position (or both) to the specified absoluteOffset from the beginning of the stream. Optionally specify a modeBitMask indicating whether to set the current input position, current output position, or both. Return the offset of the new position on success, and pos_type(off_type(‐1)) otherwise.

virtual
basic_stringbuf<CHAR_TYPE, CHAR_TRAITS, ALLOCATOR>::pos_type
seekpos(
    pos_type absoluteOffset,
    std::ios_base::openmode modeBitMask = ios_base::in | ios_base::out);

Created with MrDocs