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

Destroy this object and deallocate any non&hyphen;inplace target storage&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&#126;Function&lowbar;Rep();
----

== Description

Destroy this object and its target object (if any) and deallocate memory for the target object (if not in&hyphen;place)&period; This destructor is implemented to correctly deallocate a target object that has been allocated but not constructed (e&period;g&period;, if an exception is thrown while constructing the target)&period;


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