bsl::basic_istringstream::seekg

seekg overloads

Synopses

Declared in <bslstl_istringstream.h>

Changing the current read position.

__istream_type&
seekg(pos_type);
» more...

Seek to the absolute get position position.

BaseStream&
seekg(pos_type position);
» more...

Changing the current read position.

__istream_type&
seekg(
    off_type,
    ios_base::seekdir);
» more...

Seek relative to direction by offset characters.

BaseStream&
seekg(
    off_type offset,
    ios_base::seekdir direction);
» more...

Return Value

  • *this
  • a reference to this stream

Parameters

NameDescription
__posA file position object.
positionabsolute position in the input sequence
__offA file offset object.
__dirThe direction in which to seek.
offsetrelative offset in the input sequence
directionbase position for the seek