[#BloombergLP-bslma-AllocatorTraits_PropOnMoveAssign-09]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslma.adoc[bslma]::xref:BloombergLP/bslma/AllocatorTraits_PropOnMoveAssign-05.adoc[AllocatorTraits&lowbar;PropOnMoveAssign]&lt;ALLOC, true&gt;
:relfileprefix: ../../
:mrdocs:

Use the allocator&apos;s nested move&hyphen;assignment propagation trait when defined&period;

== Synopsis

Declared in `&lt;bslma&lowbar;allocatortraits&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class ALLOC&gt;
struct xref:BloombergLP/bslma/AllocatorTraits_PropOnMoveAssign-05.adoc[AllocatorTraits&lowbar;PropOnMoveAssign]&lt;ALLOC, true&gt;
    : ALLOC::propagate&lowbar;on&lowbar;container&lowbar;move&lowbar;assignment
----

== Description

This `struct` template sets the boolean type for the attribute named `propagate&lowbar;on&lowbar;container&lowbar;move&lowbar;assignment` to the nested type alias in the given (template parameter) `ALLOCATOR&lowbar;TYPE` if `ALLOCATOR&lowbar;TYPE` defines such an alias (i&period;e&period;, `true &equals;&equals; AllocatorTraits&lowbar;HasPropOnMoveAssign&lt;ALLOCATOR&lowbar;TYPE&gt;&colon;&colon;value`)&period;

== Base Classes

[cols="1,4"]
|===
| Name| Description
| `ALLOC::propagate&lowbar;on&lowbar;container&lowbar;move&lowbar;assignment`
| 
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
