[#BloombergLP-bslmf-MovableRefUtil-move_if_noexcept-00]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslmf.adoc[bslmf]::xref:BloombergLP/bslmf/MovableRefUtil.adoc[MovableRefUtil]::move&lowbar;if&lowbar;noexcept
:relfileprefix: ../../../
:mrdocs:

Return a movable reference to the specified `lvalue`&period; This function is selected by overload resolution if the move constructor for `t&lowbar;TYPE` is nothrow&hyphen;move&hyphen;constructible&period; Constructing a `t&lowbar;TYPE` object from the result will result in the (safe) move constructor being invoked&period; Note that that the `bsl&colon;&colon;is&lowbar;nothrow&lowbar;move&lowbar;constructible` trait can be customized in C&plus;&plus;03 mode to indicate that a type is nothrow&hyphen;move&hyphen;constructible&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class t&lowbar;TYPE&gt;
static
xref:BloombergLP/bslmf/MovableRef.adoc[MovableRef&lt;t&lowbar;TYPE&gt;]
move&lowbar;if&lowbar;noexcept(t&lowbar;TYPE& lvalue) noexcept
requires !bsl&colon;&colon;is&lowbar;copy&lowbar;constructible&lt;t&lowbar;TYPE&gt;&colon;&colon;value &verbar;&verbar;
            bsl&colon;&colon;is&lowbar;nothrow&lowbar;move&lowbar;constructible&lt;t&lowbar;TYPE&gt;&colon;&colon;value;
----


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