bsl::function::operator BloombergLP::bdef_Function<PROTOTYPE*> const&

Convert *this to a const bdef_Function reference by downcasting.

Synopsis

Declared in <bslstl_function.h>

operator BloombergLP::bdef_Function<PROTOTYPE*> const&() const noexcept;

Description

Return *this converted to a const bdef_Function reference by downcasting. The behavior is undefined unless bdef_Function<F*> is derived from bsl::function<F> and adds no new data members.

DEPRECATED: Use bsl::function instead of bdef_Function.

Return Value

const bdef_Function reference to *this