[#bsl-function-0a-2conversion-05]
= xref:bsl.adoc[bsl]::xref:bsl/function-0a.adoc[function]::operator xref:BloombergLP/bdef_Function.adoc[BloombergLP::bdef&lowbar;Function&lt;PROTOTYPE*&gt;]&
:relfileprefix: ../../
:mrdocs:

Convert `&ast;this` to a mutable `bdef&lowbar;Function` reference by downcasting&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
operator xref:BloombergLP/bdef_Function.adoc[BloombergLP::bdef&lowbar;Function&lt;PROTOTYPE*&gt;]&() noexcept;
----

== Description

Return `&ast;this`, converted to a mutable `bdef&lowbar;Function` reference by downcasting&period; The behavior is undefined unless `bdef&lowbar;Function&lt;F&ast;&gt;` is derived from `bsl&colon;&colon;function&lt;F&gt;` and adds no new data members&period;

DEPRECATED&colon; Use `bsl&colon;&colon;function` instead of `bdef&lowbar;Function`&period;

== Return Value

mutable `bdef&lowbar;Function` reference to `&ast;this`


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