[#bsl-basic_ostringstream-operator_lshift-085]
= xref:bsl.adoc[bsl]::xref:bsl/basic_ostringstream.adoc[basic&lowbar;ostringstream]::operator&lt;&lt;
:relfileprefix: ../../
:mrdocs:

Left shift operators

== Synopses

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

Insert an `unsigned long` into the stream&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/basic_ostringstream.adoc[BaseStream]&
xref:bsl/basic_ostringstream/operator_lshift-07a.adoc[operator&lt;&lt;](unsigned long value);
----

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

Insert a null pointer representation into the stream&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/basic_ostringstream.adoc[BaseStream]&
xref:bsl/basic_ostringstream/operator_lshift-05a.adoc[operator&lt;&lt;](std::nullptr&lowbar;t value);
----

[.small]#xref:bsl/basic_ostringstream/operator_lshift-05a.adoc[_» more&period;&period;&period;_]#

Insert characters from `streambuf` until end&hyphen;of&hyphen;file&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/basic_ostringstream.adoc[BaseStream]&
xref:bsl/basic_ostringstream/operator_lshift-0ff.adoc[operator&lt;&lt;](std::basic&lowbar;streambuf&lt;char&lowbar;type, traits&lowbar;type&gt;* streambuf);
----

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

Insert a volatile pointer value into the stream&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/basic_ostringstream.adoc[BaseStream]&
xref:bsl/basic_ostringstream/operator_lshift-0d.adoc[operator&lt;&lt;](void const volatile* value);
----

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

Insert a pointer value into the stream&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/basic_ostringstream.adoc[BaseStream]&
xref:bsl/basic_ostringstream/operator_lshift-0c0.adoc[operator&lt;&lt;](void const* value);
----

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

Insert a `long double` into the stream&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/basic_ostringstream.adoc[BaseStream]&
xref:bsl/basic_ostringstream/operator_lshift-0fb.adoc[operator&lt;&lt;](long double value);
----

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

Insert a `double` into the stream&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/basic_ostringstream.adoc[BaseStream]&
xref:bsl/basic_ostringstream/operator_lshift-058.adoc[operator&lt;&lt;](double value);
----

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

Insert a `float` into the stream&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/basic_ostringstream.adoc[BaseStream]&
xref:bsl/basic_ostringstream/operator_lshift-056.adoc[operator&lt;&lt;](float value);
----

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

Insert an `unsigned long long` into the stream&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/basic_ostringstream.adoc[BaseStream]&
xref:bsl/basic_ostringstream/operator_lshift-03.adoc[operator&lt;&lt;](unsigned long long value);
----

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

Insert a `long long` into the stream&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/basic_ostringstream.adoc[BaseStream]&
xref:bsl/basic_ostringstream/operator_lshift-04b.adoc[operator&lt;&lt;](long long value);
----

[.small]#xref:bsl/basic_ostringstream/operator_lshift-04b.adoc[_» more&period;&period;&period;_]#

Apply a `basic&lowbar;ostream` manipulator to this stream&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/basic_ostringstream.adoc[BaseStream]&
xref:bsl/basic_ostringstream/operator_lshift-09.adoc[operator&lt;&lt;](xref:bsl/basic_ostringstream.adoc[BaseStream]&(* manipulator)(xref:bsl/basic_ostringstream.adoc[BaseStream]&));
----

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

Insert a `long` into the stream&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/basic_ostringstream.adoc[BaseStream]&
xref:bsl/basic_ostringstream/operator_lshift-02.adoc[operator&lt;&lt;](long value);
----

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

Insert an `unsigned int` into the stream&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/basic_ostringstream.adoc[BaseStream]&
xref:bsl/basic_ostringstream/operator_lshift-0b.adoc[operator&lt;&lt;](unsigned int value);
----

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

Insert an `int` into the stream&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/basic_ostringstream.adoc[BaseStream]&
xref:bsl/basic_ostringstream/operator_lshift-07c.adoc[operator&lt;&lt;](int value);
----

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

Insert an `unsigned short` into the stream&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/basic_ostringstream.adoc[BaseStream]&
xref:bsl/basic_ostringstream/operator_lshift-0c8.adoc[operator&lt;&lt;](unsigned short value);
----

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

Insert a `short` into the stream&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/basic_ostringstream.adoc[BaseStream]&
xref:bsl/basic_ostringstream/operator_lshift-04d.adoc[operator&lt;&lt;](short value);
----

[.small]#xref:bsl/basic_ostringstream/operator_lshift-04d.adoc[_» more&period;&period;&period;_]#

Insert a boolean value into the stream&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/basic_ostringstream.adoc[BaseStream]&
xref:bsl/basic_ostringstream/operator_lshift-082.adoc[operator&lt;&lt;](bool value);
----

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

Apply an `ios&lowbar;base` manipulator to this stream&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/basic_ostringstream.adoc[BaseStream]&
xref:bsl/basic_ostringstream/operator_lshift-070.adoc[operator&lt;&lt;](xref:bsl/basic_ostringstream.adoc[ios&lowbar;base]&(* manipulator)(xref:bsl/basic_ostringstream.adoc[ios&lowbar;base]&));
----

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

Apply a `basic&lowbar;ios` manipulator to this stream&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/basic_ostringstream.adoc[BaseStream]&
xref:bsl/basic_ostringstream/operator_lshift-06.adoc[operator&lt;&lt;](std::basic&lowbar;ios&lt;char&lowbar;type, traits&lowbar;type&gt;&(* manipulator)(std::basic&lowbar;ios&lt;char&lowbar;type, traits&lowbar;type&gt;&));
----

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

== Return Value

a reference to this stream

== Parameters

[cols="1,4"]
|===
| Name| Description
| *value*
| value to insert
| *streambuf*
| source stream buffer
| *manipulator*
| function to apply
|===


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