Quick Links: |
#include <bslma_allocatortraits.h>
Classes | |
struct | no_type |
struct | yes_type |
Public Types | |
typedef bsl::integral_constant < bool, value > | type |
Static Public Attributes | |
static const bool | value = sizeof(match<ALLOC>(0)) == sizeof(yes_type) |
This struct
template provides a mechanism for determining whether a given (template parameter) ALLOCATOR_TYPE
defines a nested alias named is_always_equal
. The static boolean member value
(nested alias named type
) is true
(bsl::true_type
) if ALLOCATOR_TYPE
defines such an alias, and false
(bsl::false_type
) otherwise.
See Component bslma_allocatortraits
typedef bsl::integral_constant<bool, value> bslma::AllocatorTraits_HasIsAlwaysEqual< ALLOC >::type |
const bool bslma::AllocatorTraits_HasIsAlwaysEqual< ALLOC >::value = sizeof(match<ALLOC>(0)) == sizeof(yes_type) [static] |