Quick Links: |
#include <bslmf_isempty.h>
Public Types | |
typedef t_TYPE | value_type |
typedef integral_constant | type |
Public Member Functions | |
BSLS_KEYWORD_CONSTEXPR | operator value_type () const BSLS_KEYWORD_NOEXCEPT |
Static Public Attributes | |
static BSLS_KEYWORD_CONSTEXPR_MEMBER t_TYPE | value = t_VAL |
Private class: do not use outside of bslmf_isempty
component. This meta-function provides an initial dispatch that always derives from false_type
unless the template parameter t_TYPE
is a class type, as only class types can be empty. The following partial specialization forwards all class types to a final test. This two-phase dispatch is necessary as some types, such as void
and function types, cannot be passed to a sizeof
operator that is used to implement the next stage of matching.
typedef t_TYPE bsl::integral_constant< t_TYPE, t_VAL >::value_type [inherited] |
typedef integral_constant bsl::integral_constant< t_TYPE, t_VAL >::type [inherited] |
BSLS_KEYWORD_CONSTEXPR bsl::integral_constant< t_TYPE, t_VAL >::operator value_type | ( | ) | const [inherited] |
Return t_VAL
.
BSLS_KEYWORD_CONSTEXPR_MEMBER t_TYPE bsl::integral_constant< t_TYPE, t_VAL >::value = t_VAL [static, inherited] |