[#BloombergLP-bdef_Function]
= xref:BloombergLP.adoc[BloombergLP]::bdef&lowbar;Function
:relfileprefix: ../
:mrdocs:

Forward declaration of the legacy `bdef&lowbar;Function` class template&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class PROTOTYPE&gt;
class bdef&lowbar;Function;
----

== Description

Forward declaration of legacy `bdef&lowbar;Function` in order to implement by&hyphen;reference conversion from `bsl&colon;&colon;function&lt;F&gt;`&period; This declaration produces a by&hyphen;name cyclic dependency between `bsl` and `bde` in order to allow legacy code to transition to `bsl&colon;&colon;function` from (the deprecated) `bdef&lowbar;Function`&period; The conversion, and therefore this forward reference, should not appear in the open&hyphen;source version of this component&period;


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