8#ifndef INCLUDED_BSLMF_INTEGRALCONSTANT
9#define INCLUDED_BSLMF_INTEGRALCONSTANT
189#include <bslscm_version.h>
194#ifdef BSLS_COMPILERFEATURES_FULL_CPP11
195# include <type_traits>
198#ifndef BDE_DONT_ALLOW_TRANSITIVE_INCLUDES
202#ifdef BSLS_COMPILERFEATURES_FULL_CPP11
209template <
class t_TYPE, t_TYPE t_VALUE>
210struct integral_constant : ::std::integral_constant<t_TYPE, t_VALUE> {
232template <
bool t_VALUE>
260template <
class t_TYPE, t_TYPE t_VALUE>
267 static const t_TYPE value = t_VALUE;
306#ifdef BSLS_COMPILERFEATURES_FULL_CPP11
307template <
class t_TYPE, t_TYPE t_VALUE>
315template <
class t_TYPE, t_TYPE t_VALUE>
322template <
class t_TYPE, t_TYPE t_VALUE>
330template <
class t_TYPE, t_TYPE t_VALUE>
value_type operator()() const
Return a copy of the template argument t_VALUE.
Definition bslmf_integralconstant.h:317
#define BSLS_IDENT(str)
BSLS_IDENT() - insert string into .comment binary segment (if supported)
Definition bsls_ident.h:238
Definition bdlat_valuetypefunctions.h:939
integral_constant< bool, false > false_type
Definition bslmf_integralconstant.h:290
integral_constant< bool, true > true_type
Definition bslmf_integralconstant.h:296
Definition bslmf_integralconstant.h:261
~integral_constant()=default
t_TYPE value_type
Definition bslmf_integralconstant.h:263
integral_constant type
Definition bslmf_integralconstant.h:264
integral_constant(const integral_constant &)=default
integral_constant operator=(const integral_constant &)=default
integral_constant()=default