[#BloombergLP-bdlt-maxSupportedBdexVersion-079]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::maxSupportedBdexVersion
:relfileprefix: ../../
:mrdocs:

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 type `MonthOfYear&colon;&colon;Enum`&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; See the `bslx` package&hyphen;level documentation for more information on BDEX streaming of value&hyphen;semantic types and containers&period;

== Synopsis

Declared in `&lt;bdlt&lowbar;monthofyear&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
maxSupportedBdexVersion(
    xref:BloombergLP/bdlt/MonthOfYear/Enum.adoc[MonthOfYear::Enum] const*,
    int versionSelector);
----


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