[#BloombergLP-bslstl-Function_Rep-moveInit]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::xref:BloombergLP/bslstl/Function_Rep.adoc[Function&lowbar;Rep]::moveInit
:relfileprefix: ../../../
:mrdocs:

Move&hyphen;initialize this rep from the rep at the specified `from` address, leaving the latter empty&period; If &apos;this&hyphen;&gt;get&lowbar;allocator() !&equals; from&hyphen;&gt;get&lowbar;allocator()&apos;, this function degenerates to a call to `copyInit(&ast;from)`&period; The behavior is undefined unless this rep is empty before the call&period;

== Synopsis

Declared in `&lt;bslstl&lowbar;function&lowbar;rep&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
moveInit(xref:BloombergLP/bslstl/Function_Rep.adoc[Function&lowbar;Rep]* from);
----


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