|
BDE 4.39.x Production Release
|
#include <bslmf_integralconstant.h>
Generate a unique type for the given t_TYPE and t_VALUE. This struct is used for compile-time dispatch of overloaded functions and as the base class for many metafunctions.
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 | |
| operator value_type () const | |
| value_type | operator() () const |
Static Public Attributes | |
| static const t_TYPE | value = t_VALUE |
| typedef integral_constant bsl::integral_constant< t_TYPE, t_VALUE >::type |
| typedef t_TYPE bsl::integral_constant< t_TYPE, t_VALUE >::value_type |
|
default |
|
default |
|
default |
| bsl::integral_constant< t_TYPE, t_VALUE >::operator value_type | ( | ) | const |
Return a copy of the template argument t_VALUE.
|
default |