Quick Links: |
#include <bslmf_detectnestedtrait.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 |
This struct
template metafunction detects whether the specified t_TRAIT
parameter is associated with the specified t_TYPE
parameter using the nested type trait mechanism. This trait derives from bsl::true_type
if and only if t_TYPE
is a class type that associated with the specified trait using the BSLMF_NESTED_TRAIT_DECLARATION
macro, and from bsl::false_type
otherwise. Users should not specialize this trait directly for their types, but should always use the macro to make a nested trait association.
See Component bslmf_detectnestedtrait
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] |