[#bsl-allocator_traits-0ae-propagate_on_container_swap] = xref:bsl.adoc[bsl]::xref:bsl/allocator_traits-0ae.adoc[allocator_traits<std::allocator<ALLOCATOR_TYPE>>]::propagate_on_container_swap :relfileprefix: ../../ :mrdocs: How the allocator is propagated on swap == Synopsis Declared in `<bslma_allocatortraits.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- using propagate_on_container_swap = __detected_or_t<false_type, __pocs, _Alloc>; ---- == Description `Alloc::propagate_on_container_swap` if that type exists, otherwise `false_type` [.small]#Created with https://www.mrdocs.com[MrDocs]#