[#bsl-basic_istringstream-seekg-0b]
= xref:bsl.adoc[bsl]::xref:bsl/basic_istringstream.adoc[basic&lowbar;istringstream]::seekg
:relfileprefix: ../../
:mrdocs:

Changing the current read position&period;

== Synopses

Declared in `&lt;bslstl&lowbar;istringstream&period;h&gt;`

Changing the current read position&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lowbar;&lowbar;istream&lowbar;type&
xref:bsl/basic_istringstream/seekg-0a.adoc[seekg](pos&lowbar;type);
----

[.small]#xref:bsl/basic_istringstream/seekg-0a.adoc[_» more&period;&period;&period;_]#

Changing the current read position&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lowbar;&lowbar;istream&lowbar;type&
xref:bsl/basic_istringstream/seekg-0f.adoc[seekg](
    off&lowbar;type,
    ios&lowbar;base::seekdir);
----

[.small]#xref:bsl/basic_istringstream/seekg-0f.adoc[_» more&period;&period;&period;_]#

== Return Value

&ast;this

== Parameters

[cols="1,4"]
|===
| Name| Description
| *&lowbar;&lowbar;pos*
| A file position object&period;
| *&lowbar;&lowbar;off*
| A file offset object&period;
| *&lowbar;&lowbar;dir*
| The direction in which to seek&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
