operator==,!=(std::experimental::function)
Min standard notice:
Header: <experimental/functional>
Compares a std::experimental::function with a null pointer. Empty functions (that is, functions without a callable target) compare equal, non-empty functions compare non-equal.
# Declarations
template< class R, class... ArgTypes >
bool operator==( const std::experimental::function<R(ArgTypes...)>& f,
std::nullptr_t ) noexcept;
(library fundamentals TS)
template< class R, class... ArgTypes >
bool operator==( std::nullptr_t,
const std::experimental::function<R(ArgTypes...)>& f ) noexcept;
(library fundamentals TS) (removed in library fundamentals TS v3)
template< class R, class... ArgTypes >
bool operator!=( const std::experimental::function<R(ArgTypes...)>& f,
std::nullptr_t ) noexcept;
(library fundamentals TS) (removed in library fundamentals TS v3)
template< class R, class... ArgTypes >
bool operator!=( std::nullptr_t,
const std::experimental::function<R(ArgTypes...)>& f ) noexcept;
(library fundamentals TS) (removed in library fundamentals TS v3)
# Parameters
f: std::experimental::function to compare