bsl::operator==

Return true if the specified function is empty.

Synopsis

Declared in <bslstl_function.h>

template<class PROTOTYPE>
bool
operator==(
    function<PROTOTYPE> const& f,
    nullptr_t unused) noexcept;

Return Value

true if f is empty, and false otherwise

Parameters

NameDescription
ffunction object to compare with null
unusednull pointer literal