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

Copy&hyphen;initialize this rep from the specified `original` rep&period;

== Synopsis

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

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

== Description

Copy&hyphen;initialize this rep from the specified `original` rep&period; If an exception is thrown by the copy, the only valid subsequent operation on this object is destruction&period; The behavior is undefined unless this object is empty before the call&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *original*
| representation whose target is copied
|===


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