[#BloombergLP-bslalg-NothrowMovableUtil-wrap-06] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslalg.adoc[bslalg]::xref:BloombergLP/bslalg/NothrowMovableUtil.adoc[NothrowMovableUtil]::wrap :relfileprefix: ../../../ :mrdocs: `wrap` overloads == Synopses Declared in `<bslalg_nothrowmovableutil.h>` Same as the preceding overload, for rvalues. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class TYPE> static bslalg::NothrowMovableUtil::WrappedType<TYPE>::type xref:BloombergLP/bslalg/NothrowMovableUtil/wrap-08c.adoc[wrap](xref:BloombergLP/bslmf/MovableRef_Deduced.adoc[BloombergLP::bslmf::MovableRef_Deduced<TYPE>] f); ---- [.small]#xref:BloombergLP/bslalg/NothrowMovableUtil/wrap-08c.adoc[_» more..._]# Same as the preceding overload, for const rvalues. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class TYPE> static bslalg::NothrowMovableUtil::WrappedType<TYPE>::type xref:BloombergLP/bslalg/NothrowMovableUtil/wrap-07.adoc[wrap](xref:BloombergLP/bslmf/MovableRef_Deduced.adoc[BloombergLP::bslmf::MovableRef_Deduced<TYPE const>] f); ---- [.small]#xref:BloombergLP/bslalg/NothrowMovableUtil/wrap-07.adoc[_» more..._]# Return a wrapped copy of the specified `f` object. If `f` is already wrapped, return a simple copy of `f` without wrapping it again. Note that the overloads taking an lvalue argument prevent the overload taking an rvalue argument from treating the argument as a forwarding reference. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class TYPE> static bslalg::NothrowMovableUtil::WrappedType<TYPE>::type xref:BloombergLP/bslalg/NothrowMovableUtil/wrap-0a.adoc[wrap](TYPE& f); ---- [.small]#xref:BloombergLP/bslalg/NothrowMovableUtil/wrap-0a.adoc[_» more..._]# Same as the preceding overload, for const lvalues. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class TYPE> static bslalg::NothrowMovableUtil::WrappedType<TYPE>::type xref:BloombergLP/bslalg/NothrowMovableUtil/wrap-081.adoc[wrap](TYPE const& f); ---- [.small]#xref:BloombergLP/bslalg/NothrowMovableUtil/wrap-081.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#