[#bsl-basic_ostringstream-seekp-05]
= xref:bsl.adoc[bsl]::xref:bsl/basic_ostringstream.adoc[basic&lowbar;ostringstream]::seekp
:relfileprefix: ../../
:mrdocs:

`seekp` overloads

== Synopses

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

Seek to the absolute put position `position`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/basic_ostringstream.adoc[BaseStream]&
xref:bsl/basic_ostringstream/seekp-07.adoc[seekp](xref:bsl/basic_ostringstream/pos_type.adoc[pos&lowbar;type] position);
----

[.small]#xref:bsl/basic_ostringstream/seekp-07.adoc[_» more&period;&period;&period;_]#

Seek relative to `direction` by `offset` characters&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/basic_ostringstream.adoc[BaseStream]&
xref:bsl/basic_ostringstream/seekp-0c.adoc[seekp](
    xref:bsl/basic_ostringstream/off_type.adoc[off&lowbar;type] offset,
    ios&lowbar;base::seekdir direction);
----

[.small]#xref:bsl/basic_ostringstream/seekp-0c.adoc[_» more&period;&period;&period;_]#

== Return Value

a reference to this stream

== Parameters

[cols="1,4"]
|===
| Name| Description
| *position*
| absolute position in the output sequence
| *offset*
| relative offset in the output sequence
| *direction*
| base position for the seek
|===


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