[#BloombergLP-bslmf-Util-moveIfSupported]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslmf.adoc[bslmf]::xref:BloombergLP/bslmf/Util.adoc[Util]::moveIfSupported
:relfileprefix: ../../../
:mrdocs:

Return `std&colon;&colon;move(t)` if `t&lowbar;TYPE` is move constructible, and a reference to `t` otherwise&period;

== Synopsis

Declared in `&lt;bslmf&lowbar;util&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class t&lowbar;TYPE&gt;
constexpr
static
bsl::remove&lowbar;reference&lt;t&lowbar;T&gt;::type&&
moveIfSupported(t&lowbar;TYPE&& t) noexcept;
----


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