BDE 4.14.0 Production release
|
#include <bslmf_integralconstant.h>
Public Types | |
typedef t_TYPE | value_type |
typedef integral_constant | type |
Public Member Functions | |
integral_constant ()=default | |
integral_constant (const integral_constant &)=default | |
integral_constant | operator= (const integral_constant &)=default |
~integral_constant ()=default | |
BSLS_KEYWORD_CONSTEXPR | operator value_type () const BSLS_KEYWORD_NOEXCEPT |
Return t_VAL . | |
Static Public Attributes | |
static const t_TYPE | value = t_VAL |
Generate a unique type for the given t_TYPE
and t_VAL
. This struct
is used for compile-time dispatch of overloaded functions and as the base class for many metafunctions.
typedef integral_constant bsl::integral_constant< t_TYPE, t_VAL >::type |
typedef t_TYPE bsl::integral_constant< t_TYPE, t_VAL >::value_type |
|
default |
|
default |
|
default |
BSLS_KEYWORD_CONSTEXPR bsl::integral_constant< t_TYPE, t_VAL >::operator value_type | ( | ) | const |
|
default |