[#BloombergLP-bslx-VersionFunctions-maxSupportedBdexVersion-08]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslx.adoc[bslx]::xref:BloombergLP/bslx/VersionFunctions.adoc[VersionFunctions]::maxSupportedBdexVersion
:relfileprefix: ../../../
:mrdocs:

*DEPRECATED*&colon; Use `maxSupportedBdexVersion(const TYPE &ast;, int)` instead&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class TYPE&gt;
int
maxSupportedBdexVersion(TYPE const* object);
----

== Description

Return the maximum valid BDEX format version to be passed to the `bdexStreamOut` method while streaming an object of the (template parameter) type `TYPE`&period; Note that this function ignores any `const` and `volatile` qualifiers on the `TYPE`&period; See the `bslx` package&hyphen;level documentation for more information on BDEX streaming of value&hyphen;semantic types and containers&period;

== Return Value

the maximum valid BDEX format version for `TYPE`

== Parameters

[cols="1,4"]
|===
| Name| Description
| *object*
| unused&semi; used only to deduce the (template parameter) `TYPE`
|===


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