[#mp_units-basic_fixed_string-08-swap]
= xref:mp_units.adoc[mp&lowbar;units]::xref:mp_units/basic_fixed_string-08.adoc[basic&lowbar;fixed&lowbar;string]::swap
:relfileprefix: ../../
:mrdocs:

Exchanges the contents of this string with those of `s`

== Synopsis

Declared in `&lt;mp&hyphen;units&sol;ext&sol;fixed&lowbar;string&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
void
swap(xref:mp_units/basic_fixed_string-08.adoc[basic&lowbar;fixed&lowbar;string]& s) noexcept;
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *s*
| The string to swap contents with
|===


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