Sets is_always_equal to bsl::is_empty<ALLOC> when not defined by ALLOC.
Synopsis
Declared in <bslma_allocatortraits.h>
template<class ALLOC>
struct AllocatorTraits_IsAlwaysEqual<ALLOC, false>
: bsl::is_empty<ALLOC>
Description
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).
Base Classes
Name |
Description |
Meta‐function for detecting empty class types. |
Type Aliases
Name |
Description |
Alias for this |
|
Alias for the (template parameter) |
Member Functions
Name |
Description |
Return a copy of the template argument |
|
Return a copy of the template argument |