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

`maxSupportedBdexVersion` overloads

== Synopses

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

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


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class TYPE&gt;
int
xref:BloombergLP/bslx/VersionFunctions/maxSupportedBdexVersion-08.adoc[maxSupportedBdexVersion](TYPE const*);
----

[.small]#xref:BloombergLP/bslx/VersionFunctions/maxSupportedBdexVersion-08.adoc[_» more&period;&period;&period;_]#

Return the maximum valid BDEX format version, as indicated by the specified `versionSelector`, to be passed to the `bdexStreamOut` method while streaming an object of the (template parameter) type `TYPE`&period; Note that it is highly recommended that `versionSelector` be formatted as &quot;YYYYMMDD&quot;, a date representation&period; Also note that `versionSelector` should be a _compile_&hyphen;time&hyphen;chosen value that selects a format version supported by both externalizer and unexternalizer&period; Also 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;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class TYPE&gt;
int
xref:BloombergLP/bslx/VersionFunctions/maxSupportedBdexVersion-09.adoc[maxSupportedBdexVersion](
    TYPE const*,
    int versionSelector);
----

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


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