[#BloombergLP-bslma-AllocatorTraits_PropOnSwap-07] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslma.adoc[bslma]::AllocatorTraits_PropOnSwap :relfileprefix: ../../ :mrdocs: This `struct` template sets the boolean type for the attribute named `propagate_on_container_swap` to `bsl::false_type` if the given (template parameter) `ALLOCATOR_TYPE` does not define such an alias (i.e., `false == AllocatorTraits_HasPropOnSwap<ALLOCATOR_TYPE>::value`). == Synopsis Declared in `<bslma_allocatortraits.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class ALLOC, bool = AllocatorTraits_HasPropOnSwap<ALLOC>::value> struct AllocatorTraits_PropOnSwap : xref:bsl/false_type.adoc[bsl::false_type] ---- == 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_PropOnSwap-08.adoc[`AllocatorTraits_PropOnSwap<ALLOC, true>`] | This `struct` template sets the boolean type for the attribute named `propagate_on_container_swap` to the nested type alias in the given (template parameter) `ALLOCATOR_TYPE` if `ALLOCATOR_TYPE` defines such an alias (i.e., `false == AllocatorTraits_HasPropOnSwap<ALLOCATOR_TYPE>::value`). |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#