cpp/io/basic istream/seekg

Sets input position indicator of the current associated object.

behaves as, except that gcount is not affected. After constructing and checking the sentry object,

@1@ if, sets the input position indicator to absolute (relative to the beginning of the file) value. Specifically, executes (, in turn, calls seekpos of the specific buffer, such as, , or ). In case of failure, calls. @2@ if, sets the input position indicator to position , relative to position, defined by. Specifically, executes. In case of failure, calls.