std::experimental::not_fn (3) - Linux Man Pages
Defined in header <experimental/functional>
template< class F> (library fundamentals TS v2)
/*unspecified*/ not_fn( F&& f );
Creates a forwarding call wrapper that returns the complement of the callable object it holds.
f - the object from which the Callable object held by the wrapper is constructed
Let FD be std::decay_t<F> and fd be an lvalue of type FD constructed from std::forward<F>(f).
not_fn returns a forwarding call wrapper fn of unspecified type such that fn(a1, a2, ..., aN) is equivalent to !INVOKE(fd, a1, ..., aN), where INVOKE is the operation described in Callable.
The returned call wrapper is always MoveConstructible, and is CopyConstructible if FD is CopyConstructible.
If fd is not Callable, or std::is_constructible<FD, F>::value is not true, the behavior is undefined.
Throws no exceptions, unless the construction of fd throws.