This struct provides a namespace for functions used to obtain the BDEX‐compliant version information for vectors and types requiring a TYPE::maxSupportedBdexVersion method as per the BDEX protocol (see the bslx package‐level documentation).

Synopsis

Declared in <bslx_versionfunctions.h>

template<class TYPE>
struct VersionFunctions_NonFundamentalImpl;

Static Member Functions

Name

Description

maxSupportedBdexVersion

maxSupportedBdexVersion overloads

Specializations

Name

Description

VersionFunctions_NonFundamentalImpl<bsl::vector<TYPE, ALLOC>>

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 bsl::vector<TYPE, ALLOC>. 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.

Created with MrDocs