8#ifndef INCLUDED_BSLX_VERSIONFUNCTIONS
9#define INCLUDED_BSLX_VERSIONFUNCTIONS
125#include <bslscm_version.h>
133#include <bsl_string.h>
134#include <bsl_vector.h>
136#ifndef BDE_DONT_ALLOW_TRANSITIVE_INCLUDES
193#ifndef BDE_OMIT_INTERNAL_DEPRECATED
218template <
class TYPE,
class ALLOC>
222#ifndef BDE_OMIT_INTERNAL_DEPRECATED
240namespace VersionFunctions_Impl {
254 template <
class TYPE>
274 template <
class TYPE>
291 template <
class TYPE>
294#ifndef BDE_OMIT_INTERNAL_DEPRECATED
302 template <
class TYPE>
316 template <
class TYPE>
326 template <
class TYPE>
337namespace VersionFunctions {
361 template <
class TYPE>
364#ifndef BDE_OMIT_INTERNAL_DEPRECATED
378 template <
class TYPE>
402 return TYPE::maxSupportedBdexVersion(versionSelector);
405#ifndef BDE_OMIT_INTERNAL_DEPRECATED
415 return TYPE::maxSupportedBdexVersion();
420template <
class TYPE,
class ALLOC>
423 maxSupportedBdexVersion(
int versionSelector)
427 const int version = maxSupportedBdexVersion(
reinterpret_cast<TYPE *
>(0),
433#ifndef BDE_OMIT_INTERNAL_DEPRECATED
436template <
class TYPE,
class ALLOC>
439 maxSupportedBdexVersion()
443 const int version = maxSupportedBdexVersion(
reinterpret_cast<TYPE *
>(0));
485 return VersionFunctions_Impl::
486 maxSupportedBdexVersion<TYPE>(versionSelector, dummyType());
489#ifndef BDE_OMIT_INTERNAL_DEPRECATED
520 return VersionFunctions_Impl::maxSupportedBdexVersion<TYPE>(dummyType());
534 return VersionFunctions_Impl::
535 maxSupportedBdexVersion<typename bsl::remove_cv<TYPE>::type>(
539#ifndef BDE_OMIT_INTERNAL_DEPRECATED
546 return VersionFunctions_Impl::
547 maxSupportedBdexVersion<typename bsl::remove_cv<TYPE>::type>();
Definition bslx_versionfunctions.h:152
Definition bslx_versionfunctions.h:164
#define BSLS_IDENT(str)
BSLS_IDENT() - insert string into .comment binary segment (if supported)
Definition bsls_ident.h:238
Definition bdlat_valuetypefunctions.h:939
int maxSupportedBdexVersion()
Definition bslx_versionfunctions.h:511
int maxSupportedBdexVersion(const TYPE *, int versionSelector)
Definition bslx_versionfunctions.h:531
@ k_NO_VERSION
Definition bslx_versionfunctions.h:344
Definition bslx_byteinstream.h:377
Definition bslmf_conditional.h:123
Definition bslmf_issame.h:146
Definition bslmf_isenum.h:173
Definition bslmf_isfundamental.h:303
Definition bslx_versionfunctions.h:178
static int maxSupportedBdexVersion()
Definition bslx_versionfunctions.h:410