[#BloombergLP-bslma-AllocatorUtil-swap-075be4]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslma.adoc[bslma]::xref:BloombergLP/bslma/AllocatorUtil.adoc[AllocatorUtil]::swap
:relfileprefix: ../../../
:mrdocs:

Same as the preceding overload, when `allowed` is `true&lowbar;type`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class t&lowbar;TYPE&gt;
static
void
swap(
    t&lowbar;TYPE* pa,
    t&lowbar;TYPE* pb,
    xref:bsl/true_type.adoc[bsl::true&lowbar;type] allowed);
----


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