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
190#ifndef BDE_OMIT_INTERNAL_DEPRECATED
214template <
class TYPE,
class ALLOC>
218#ifndef BDE_OMIT_INTERNAL_DEPRECATED
236namespace VersionFunctions_Impl {
249 template <
class TYPE>
268 template <
class TYPE>
284 template <
class TYPE>
287#ifndef BDE_OMIT_INTERNAL_DEPRECATED
294 template <
class TYPE>
307 template <
class TYPE>
316 template <
class TYPE>
327namespace VersionFunctions {
350 template <
class TYPE>
353#ifndef BDE_OMIT_INTERNAL_DEPRECATED
366 template <
class TYPE>
390 return TYPE::maxSupportedBdexVersion(versionSelector);
393#ifndef BDE_OMIT_INTERNAL_DEPRECATED
403 return TYPE::maxSupportedBdexVersion();
408template <
class TYPE,
class ALLOC>
411 maxSupportedBdexVersion(
int versionSelector)
415 const int version = maxSupportedBdexVersion(
reinterpret_cast<TYPE *
>(0),
421#ifndef BDE_OMIT_INTERNAL_DEPRECATED
424template <
class TYPE,
class ALLOC>
427 maxSupportedBdexVersion()
431 const int version = maxSupportedBdexVersion(
reinterpret_cast<TYPE *
>(0));
473 return VersionFunctions_Impl::
474 maxSupportedBdexVersion<TYPE>(versionSelector, dummyType());
477#ifndef BDE_OMIT_INTERNAL_DEPRECATED
508 return VersionFunctions_Impl::maxSupportedBdexVersion<TYPE>(dummyType());
522 return VersionFunctions_Impl::
523 maxSupportedBdexVersion<typename bsl::remove_cv<TYPE>::type>(
527#ifndef BDE_OMIT_INTERNAL_DEPRECATED
534 return VersionFunctions_Impl::
535 maxSupportedBdexVersion<typename bsl::remove_cv<TYPE>::type>();
Definition bslx_versionfunctions.h:152
Definition bslx_versionfunctions.h:164
#define BSLS_IDENT(str)
Definition bsls_ident.h:195
Definition bdlb_printmethods.h:283
int maxSupportedBdexVersion()
Definition bslx_versionfunctions.h:499
int maxSupportedBdexVersion(const TYPE *, int versionSelector)
Definition bslx_versionfunctions.h:519
@ k_NO_VERSION
Definition bslx_versionfunctions.h:334
Definition bslx_byteinstream.h:377
Definition bslmf_conditional.h:120
Definition bslmf_issame.h:146
Definition bslmf_isenum.h:173
Definition bslmf_isfundamental.h:303
Definition bslx_versionfunctions.h:176
static int maxSupportedBdexVersion()
Definition bslx_versionfunctions.h:398