Default copy‐assignment propagation trait to false_type when undefined.
Synopsis
Declared in <bslma_allocatortraits.h>
template<
class ALLOCATOR_TYPE,
bool = AllocatorTraits_HasPropOnCopyAssign<ALLOCATOR_TYPE>::value>
struct AllocatorTraits_PropOnCopyAssign
: bsl::false_type
Description
This struct template sets the boolean type for the attribute named propagate_on_container_copy_assignment to bsl::false_type if the given (template parameter) ALLOCATOR_TYPE does not define such an alias (i.e., false == AllocatorTraits_HasPropOnCopyAssign<ALLOCATOR_TYPE>::value).
Base Classes
Name |
Description |
Metafunction representing the boolean constant |
Specializations
Name |
Description |
Use the allocator's nested copy‐assignment propagation trait when defined. |
Created with MrDocs