[#BloombergLP-bslma-AllocatorTraits_PropOnCopyAssign-0a] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslma.adoc[bslma]::AllocatorTraits_PropOnCopyAssign :relfileprefix: ../../ :mrdocs: Default copy‐assignment propagation trait to `false_type` when undefined. == Synopsis Declared in `<bslma_allocatortraits.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class ALLOCATOR_TYPE, bool = AllocatorTraits_HasPropOnCopyAssign<ALLOCATOR_TYPE>::value> struct AllocatorTraits_PropOnCopyAssign : xref:bsl/false_type.adoc[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 [cols="1,4"] |=== | Name| Description | `xref:bsl/false_type.adoc[bsl::false_type]` | Metafunction representing the boolean constant `false`. |=== == Specializations [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bslma/AllocatorTraits_PropOnCopyAssign-04.adoc[`AllocatorTraits_PropOnCopyAssign<ALLOC, true>`] | Use the allocator's nested copy‐assignment propagation trait when defined. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#