operator==(std::copyable_function)

Checks whether the wrapper f has a callable target by formally comparing it with std::nullptr_t. Empty wrappers (that is, wrappers without a target) compare equal, non-empty functions compare non-equal.

# Declarations

friend bool operator==( const std::copyable_function& f, std::nullptr_t ) noexcept;

(since C++26)

# Parameters

# Return value

!f.

# Example

This section is incompleteReason: no example

# See also