Quick Links: |
#include <bslma_usesbslmaallocator.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 metafunction is derived from true_type
if TYPE
adheres to the bslma
allocator usage idiom and false_type
otherwise. Note that this trait must be explicitly associated with a type in order for this metafunction to return true; simply having a constructor that implicitly converts bslma::Allocator *
to TYPE
is no longer sufficient for considering a type follow the idiom.
See Component bslma_usesbslmaallocator
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] |