Sets is_always_equal to bsl::is_empty<ALLOC> when not defined by ALLOC.
Declared in <bslma_allocatortraits.h>
template<class ALLOC>
struct AllocatorTraits_IsAlwaysEqual<ALLOC, false>
: bsl::is_empty<ALLOC>
This struct template sets the boolean type for the attribute named is_always_equal to bsl::is_empty<ALLOC> if the given (template parameter) ALLOC does not define such an alias (i.e., if false == AllocatorTraits_HasIsAlwaysEqual<ALLOCATOR_TYPE>::value).
| Name | Description |
|---|---|
bsl::is_empty<ALLOC> | Meta-function for detecting empty class types. |
| Name | Description |
|---|---|
type | Alias for this integral_constant specialization. |
value_type | Alias for the (template parameter) t_TYPE. |
| Name | Description |
|---|---|
operator() | Return a copy of the template argument t_VALUE. |
operator t_TYPE | Return a copy of the template argument t_VALUE. |
| Name | Description |
|---|---|
value | The compile-time constant value of this metafunction. |