Return the maximum valid BDEX format version for this type.

Synopsis

Declared in <bdlt_dayofweek.h>

int
maxSupportedBdexVersion(
    DayOfWeek::Enum const* ignored,
    int versionSelector);

Description

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 DayOfWeek::Enum. Note that it is highly recommended that versionSelector be formatted as "YYYYMMDD", a date representation. Also note that versionSelector should be a compile‐time‐chosen value that selects a format version supported by both externalizer and unexternalizer. See the bslx package‐level documentation for more information on BDEX streaming of value‐semantic types and containers.

Return Value

the maximum valid BDEX format version

Parameters

Name

Description

ignored

unused; selects this overload by type

versionSelector

BDEX version selector (typically "YYYYMMDD")

Created with MrDocs