[#BloombergLP-bslx-OutStreamFunctions-bdexStreamOut-02]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslx.adoc[bslx]::xref:BloombergLP/bslx/OutStreamFunctions.adoc[OutStreamFunctions]::bdexStreamOut
:relfileprefix: ../../../
:mrdocs:

`bdexStreamOut` overloads

== Synopses

Declared in `&lt;bslx&lowbar;outstreamfunctions&period;h&gt;`

BDEX&hyphen;stream `value` to `stream` (version computed if needed)&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class STREAM,
    class TYPE&gt;
STREAM&
xref:BloombergLP/bslx/OutStreamFunctions/bdexStreamOut-0c26.adoc[bdexStreamOut](
    STREAM& stream,
    TYPE const& value);
----

[.small]#xref:BloombergLP/bslx/OutStreamFunctions/bdexStreamOut-0c26.adoc[_» more&period;&period;&period;_]#

BDEX&hyphen;stream a `bsl&colon;&colon;vector&lt;TYPE, ALLOC&gt;` `value` to `stream`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class STREAM,
    class TYPE,
    class ALLOC&gt;
STREAM&
xref:BloombergLP/bslx/OutStreamFunctions/bdexStreamOut-06.adoc[bdexStreamOut](
    STREAM& stream,
    xref:bsl/vector-00d.adoc[bsl::vector&lt;TYPE, ALLOC&gt;] const& value);
----

[.small]#xref:BloombergLP/bslx/OutStreamFunctions/bdexStreamOut-06.adoc[_» more&period;&period;&period;_]#

BDEX&hyphen;stream a `bsls&colon;&colon;Types&colon;&colon;Int64` `value` to `stream`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class STREAM&gt;
STREAM&
xref:BloombergLP/bslx/OutStreamFunctions/bdexStreamOut-0fa.adoc[bdexStreamOut](
    STREAM& stream,
    xref:BloombergLP/bsls/Types/Int64.adoc[bsls::Types::Int64] const& value,
    int version = 0);
----

[.small]#xref:BloombergLP/bslx/OutStreamFunctions/bdexStreamOut-0fa.adoc[_» more&period;&period;&period;_]#

BDEX&hyphen;stream a `bsls&colon;&colon;Types&colon;&colon;Uint64` `value` to `stream`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class STREAM&gt;
STREAM&
xref:BloombergLP/bslx/OutStreamFunctions/bdexStreamOut-0b9.adoc[bdexStreamOut](
    STREAM& stream,
    xref:BloombergLP/bsls/Types/Uint64.adoc[bsls::Types::Uint64] const& value,
    int version = 0);
----

[.small]#xref:BloombergLP/bslx/OutStreamFunctions/bdexStreamOut-0b9.adoc[_» more&period;&period;&period;_]#

BDEX&hyphen;stream a `bool` `value` to `stream`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class STREAM&gt;
STREAM&
xref:BloombergLP/bslx/OutStreamFunctions/bdexStreamOut-03.adoc[bdexStreamOut](
    STREAM& stream,
    bool const& value,
    int version = 0);
----

[.small]#xref:BloombergLP/bslx/OutStreamFunctions/bdexStreamOut-03.adoc[_» more&period;&period;&period;_]#

BDEX&hyphen;stream a `char` `value` to `stream`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class STREAM&gt;
STREAM&
xref:BloombergLP/bslx/OutStreamFunctions/bdexStreamOut-0b5.adoc[bdexStreamOut](
    STREAM& stream,
    char const& value,
    int version = 0);
----

[.small]#xref:BloombergLP/bslx/OutStreamFunctions/bdexStreamOut-0b5.adoc[_» more&period;&period;&period;_]#

BDEX&hyphen;stream a `double` `value` to `stream`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class STREAM&gt;
STREAM&
xref:BloombergLP/bslx/OutStreamFunctions/bdexStreamOut-001.adoc[bdexStreamOut](
    STREAM& stream,
    double const& value,
    int version = 0);
----

[.small]#xref:BloombergLP/bslx/OutStreamFunctions/bdexStreamOut-001.adoc[_» more&period;&period;&period;_]#

BDEX&hyphen;stream a `float` `value` to `stream`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class STREAM&gt;
STREAM&
xref:BloombergLP/bslx/OutStreamFunctions/bdexStreamOut-084.adoc[bdexStreamOut](
    STREAM& stream,
    float const& value,
    int version = 0);
----

[.small]#xref:BloombergLP/bslx/OutStreamFunctions/bdexStreamOut-084.adoc[_» more&period;&period;&period;_]#

BDEX&hyphen;stream an `int` `value` to `stream`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class STREAM&gt;
STREAM&
xref:BloombergLP/bslx/OutStreamFunctions/bdexStreamOut-05.adoc[bdexStreamOut](
    STREAM& stream,
    int const& value,
    int version = 0);
----

[.small]#xref:BloombergLP/bslx/OutStreamFunctions/bdexStreamOut-05.adoc[_» more&period;&period;&period;_]#

BDEX&hyphen;stream a `long` `value` to `stream` as a 32&hyphen;bit `int`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class STREAM&gt;
STREAM&
xref:BloombergLP/bslx/OutStreamFunctions/bdexStreamOut-0c3.adoc[bdexStreamOut](
    STREAM& stream,
    long const& value,
    int version = 0);
----

[.small]#xref:BloombergLP/bslx/OutStreamFunctions/bdexStreamOut-0c3.adoc[_» more&period;&period;&period;_]#

BDEX&hyphen;stream a `short` `value` to `stream`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class STREAM&gt;
STREAM&
xref:BloombergLP/bslx/OutStreamFunctions/bdexStreamOut-0a6.adoc[bdexStreamOut](
    STREAM& stream,
    short const& value,
    int version = 0);
----

[.small]#xref:BloombergLP/bslx/OutStreamFunctions/bdexStreamOut-0a6.adoc[_» more&period;&period;&period;_]#

BDEX&hyphen;stream a `signed char` `value` to `stream`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class STREAM&gt;
STREAM&
xref:BloombergLP/bslx/OutStreamFunctions/bdexStreamOut-0aa.adoc[bdexStreamOut](
    STREAM& stream,
    signed char const& value,
    int version = 0);
----

[.small]#xref:BloombergLP/bslx/OutStreamFunctions/bdexStreamOut-0aa.adoc[_» more&period;&period;&period;_]#

BDEX&hyphen;stream a `bsl&colon;&colon;string` `value` to `stream`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class STREAM&gt;
STREAM&
xref:BloombergLP/bslx/OutStreamFunctions/bdexStreamOut-004.adoc[bdexStreamOut](
    STREAM& stream,
    xref:bsl/string.adoc[bsl::string] const& value,
    int version = 0);
----

[.small]#xref:BloombergLP/bslx/OutStreamFunctions/bdexStreamOut-004.adoc[_» more&period;&period;&period;_]#

BDEX&hyphen;stream an `unsigned char` `value` to `stream`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class STREAM&gt;
STREAM&
xref:BloombergLP/bslx/OutStreamFunctions/bdexStreamOut-07c.adoc[bdexStreamOut](
    STREAM& stream,
    unsigned char const& value,
    int version = 0);
----

[.small]#xref:BloombergLP/bslx/OutStreamFunctions/bdexStreamOut-07c.adoc[_» more&period;&period;&period;_]#

BDEX&hyphen;stream an `unsigned int` `value` to `stream`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class STREAM&gt;
STREAM&
xref:BloombergLP/bslx/OutStreamFunctions/bdexStreamOut-0a4.adoc[bdexStreamOut](
    STREAM& stream,
    unsigned int const& value,
    int version = 0);
----

[.small]#xref:BloombergLP/bslx/OutStreamFunctions/bdexStreamOut-0a4.adoc[_» more&period;&period;&period;_]#

BDEX&hyphen;stream an `unsigned long` to `stream` as a 32&hyphen;bit `unsigned int`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class STREAM&gt;
STREAM&
xref:BloombergLP/bslx/OutStreamFunctions/bdexStreamOut-0c29.adoc[bdexStreamOut](
    STREAM& stream,
    unsigned long const& value,
    int version = 0);
----

[.small]#xref:BloombergLP/bslx/OutStreamFunctions/bdexStreamOut-0c29.adoc[_» more&period;&period;&period;_]#

BDEX&hyphen;stream an `unsigned short` `value` to `stream`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class STREAM&gt;
STREAM&
xref:BloombergLP/bslx/OutStreamFunctions/bdexStreamOut-074.adoc[bdexStreamOut](
    STREAM& stream,
    unsigned short const& value,
    int version = 0);
----

[.small]#xref:BloombergLP/bslx/OutStreamFunctions/bdexStreamOut-074.adoc[_» more&period;&period;&period;_]#

BDEX&hyphen;stream `value` to `stream` using the specified `version`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class STREAM,
    class TYPE&gt;
STREAM&
xref:BloombergLP/bslx/OutStreamFunctions/bdexStreamOut-04f.adoc[bdexStreamOut](
    STREAM& stream,
    TYPE const& value,
    int version);
----

[.small]#xref:BloombergLP/bslx/OutStreamFunctions/bdexStreamOut-04f.adoc[_» more&period;&period;&period;_]#

BDEX&hyphen;stream a `bsl&colon;&colon;vector&lt;bsls&colon;&colon;Types&colon;&colon;Int64, ALLOC&gt;` `value` to `stream`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class STREAM,
    class ALLOC&gt;
STREAM&
xref:BloombergLP/bslx/OutStreamFunctions/bdexStreamOut-046.adoc[bdexStreamOut](
    STREAM& stream,
    xref:bsl/vector-00d.adoc[bsl::vector&lt;bsls::Types::Int64, ALLOC&gt;] const& value,
    int version);
----

[.small]#xref:BloombergLP/bslx/OutStreamFunctions/bdexStreamOut-046.adoc[_» more&period;&period;&period;_]#

BDEX&hyphen;stream a `bsl&colon;&colon;vector&lt;bsls&colon;&colon;Types&colon;&colon;Uint64, ALLOC&gt;` `value` to `stream`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class STREAM,
    class ALLOC&gt;
STREAM&
xref:BloombergLP/bslx/OutStreamFunctions/bdexStreamOut-01b.adoc[bdexStreamOut](
    STREAM& stream,
    xref:bsl/vector-00d.adoc[bsl::vector&lt;bsls::Types::Uint64, ALLOC&gt;] const& value,
    int version);
----

[.small]#xref:BloombergLP/bslx/OutStreamFunctions/bdexStreamOut-01b.adoc[_» more&period;&period;&period;_]#

BDEX&hyphen;stream a `bsl&colon;&colon;vector&lt;char, ALLOC&gt;` `value` to `stream`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class STREAM,
    class ALLOC&gt;
STREAM&
xref:BloombergLP/bslx/OutStreamFunctions/bdexStreamOut-08a.adoc[bdexStreamOut](
    STREAM& stream,
    xref:bsl/vector-00d.adoc[bsl::vector&lt;char, ALLOC&gt;] const& value,
    int version);
----

[.small]#xref:BloombergLP/bslx/OutStreamFunctions/bdexStreamOut-08a.adoc[_» more&period;&period;&period;_]#

BDEX&hyphen;stream a `bsl&colon;&colon;vector&lt;double, ALLOC&gt;` `value` to `stream`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class STREAM,
    class ALLOC&gt;
STREAM&
xref:BloombergLP/bslx/OutStreamFunctions/bdexStreamOut-0f2.adoc[bdexStreamOut](
    STREAM& stream,
    xref:bsl/vector-00d.adoc[bsl::vector&lt;double, ALLOC&gt;] const& value,
    int version);
----

[.small]#xref:BloombergLP/bslx/OutStreamFunctions/bdexStreamOut-0f2.adoc[_» more&period;&period;&period;_]#

BDEX&hyphen;stream a `bsl&colon;&colon;vector&lt;float, ALLOC&gt;` `value` to `stream`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class STREAM,
    class ALLOC&gt;
STREAM&
xref:BloombergLP/bslx/OutStreamFunctions/bdexStreamOut-0c4.adoc[bdexStreamOut](
    STREAM& stream,
    xref:bsl/vector-00d.adoc[bsl::vector&lt;float, ALLOC&gt;] const& value,
    int version);
----

[.small]#xref:BloombergLP/bslx/OutStreamFunctions/bdexStreamOut-0c4.adoc[_» more&period;&period;&period;_]#

BDEX&hyphen;stream a `bsl&colon;&colon;vector&lt;int, ALLOC&gt;` `value` to `stream`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class STREAM,
    class ALLOC&gt;
STREAM&
xref:BloombergLP/bslx/OutStreamFunctions/bdexStreamOut-0e.adoc[bdexStreamOut](
    STREAM& stream,
    xref:bsl/vector-00d.adoc[bsl::vector&lt;int, ALLOC&gt;] const& value,
    int version);
----

[.small]#xref:BloombergLP/bslx/OutStreamFunctions/bdexStreamOut-0e.adoc[_» more&period;&period;&period;_]#

BDEX&hyphen;stream a `bsl&colon;&colon;vector&lt;short, ALLOC&gt;` `value` to `stream`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class STREAM,
    class ALLOC&gt;
STREAM&
xref:BloombergLP/bslx/OutStreamFunctions/bdexStreamOut-09.adoc[bdexStreamOut](
    STREAM& stream,
    xref:bsl/vector-00d.adoc[bsl::vector&lt;short, ALLOC&gt;] const& value,
    int version);
----

[.small]#xref:BloombergLP/bslx/OutStreamFunctions/bdexStreamOut-09.adoc[_» more&period;&period;&period;_]#

BDEX&hyphen;stream a `bsl&colon;&colon;vector&lt;signed char, ALLOC&gt;` `value` to `stream`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class STREAM,
    class ALLOC&gt;
STREAM&
xref:BloombergLP/bslx/OutStreamFunctions/bdexStreamOut-0cd.adoc[bdexStreamOut](
    STREAM& stream,
    xref:bsl/vector-00d.adoc[bsl::vector&lt;signed char, ALLOC&gt;] const& value,
    int version);
----

[.small]#xref:BloombergLP/bslx/OutStreamFunctions/bdexStreamOut-0cd.adoc[_» more&period;&period;&period;_]#

BDEX&hyphen;stream a `bsl&colon;&colon;vector&lt;unsigned char, ALLOC&gt;` `value` to `stream`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class STREAM,
    class ALLOC&gt;
STREAM&
xref:BloombergLP/bslx/OutStreamFunctions/bdexStreamOut-044.adoc[bdexStreamOut](
    STREAM& stream,
    xref:bsl/vector-00d.adoc[bsl::vector&lt;unsigned char, ALLOC&gt;] const& value,
    int version);
----

[.small]#xref:BloombergLP/bslx/OutStreamFunctions/bdexStreamOut-044.adoc[_» more&period;&period;&period;_]#

BDEX&hyphen;stream a `bsl&colon;&colon;vector&lt;unsigned int, ALLOC&gt;` `value` to `stream`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class STREAM,
    class ALLOC&gt;
STREAM&
xref:BloombergLP/bslx/OutStreamFunctions/bdexStreamOut-012.adoc[bdexStreamOut](
    STREAM& stream,
    xref:bsl/vector-00d.adoc[bsl::vector&lt;unsigned int, ALLOC&gt;] const& value,
    int version);
----

[.small]#xref:BloombergLP/bslx/OutStreamFunctions/bdexStreamOut-012.adoc[_» more&period;&period;&period;_]#

BDEX&hyphen;stream a `bsl&colon;&colon;vector&lt;unsigned short, ALLOC&gt;` `value` to `stream`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class STREAM,
    class ALLOC&gt;
STREAM&
xref:BloombergLP/bslx/OutStreamFunctions/bdexStreamOut-0ad.adoc[bdexStreamOut](
    STREAM& stream,
    xref:bsl/vector-00d.adoc[bsl::vector&lt;unsigned short, ALLOC&gt;] const& value,
    int version);
----

[.small]#xref:BloombergLP/bslx/OutStreamFunctions/bdexStreamOut-0ad.adoc[_» more&period;&period;&period;_]#

BDEX&hyphen;stream a `bsl&colon;&colon;vector&lt;TYPE, ALLOC&gt;` using the specified `version`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class STREAM,
    class TYPE,
    class ALLOC&gt;
STREAM&
xref:BloombergLP/bslx/OutStreamFunctions/bdexStreamOut-0d.adoc[bdexStreamOut](
    STREAM& stream,
    xref:bsl/vector-00d.adoc[bsl::vector&lt;TYPE, ALLOC&gt;] const& value,
    int version);
----

[.small]#xref:BloombergLP/bslx/OutStreamFunctions/bdexStreamOut-0d.adoc[_» more&period;&period;&period;_]#

== Return Value

a reference to `stream`

== Parameters

[cols="1,4"]
|===
| Name| Description
| *stream*
| output stream to write to
| *value*
| value to externalize
| *version*
| ignored version number
|===


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