[#bsl-basic_istringstream-seekg-0b] = xref:bsl.adoc[bsl]::xref:bsl/basic_istringstream.adoc[basic_istringstream]::seekg :relfileprefix: ../../ :mrdocs: `seekg` overloads == Synopses Declared in `<bslstl_istringstream.h>` Changing the current read position. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- __istream_type& xref:bsl/basic_istringstream/seekg-0a.adoc[seekg](pos_type); ---- [.small]#xref:bsl/basic_istringstream/seekg-0a.adoc[_» more..._]# Seek to the absolute get position `position`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/basic_istringstream.adoc[BaseStream]& xref:bsl/basic_istringstream/seekg-07.adoc[seekg](xref:bsl/basic_istringstream/pos_type.adoc[pos_type] position); ---- [.small]#xref:bsl/basic_istringstream/seekg-07.adoc[_» more..._]# Changing the current read position. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- __istream_type& xref:bsl/basic_istringstream/seekg-0f.adoc[seekg]( off_type, ios_base::seekdir); ---- [.small]#xref:bsl/basic_istringstream/seekg-0f.adoc[_» more..._]# Seek relative to `direction` by `offset` characters. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/basic_istringstream.adoc[BaseStream]& xref:bsl/basic_istringstream/seekg-03.adoc[seekg]( xref:bsl/basic_istringstream/off_type.adoc[off_type] offset, ios_base::seekdir direction); ---- [.small]#xref:bsl/basic_istringstream/seekg-03.adoc[_» more..._]# == Return Value * *this * a reference to this stream == Parameters [cols="1,4"] |=== | Name| Description | *__pos* | A file position object. | *position* | absolute position in the input sequence | *__off* | A file offset object. | *__dir* | The direction in which to seek. | *offset* | relative offset in the input sequence | *direction* | base position for the seek |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#