Standard C++ Library Reference ISO/IEC (VERSION3)

unary_negate
template<class Fn1>
class unary_negate
: public unary_function<
typename Fn1::argument_type,
bool> {
public:
explicit unary_negate(const Fn1& Func);
bool operator()(
const typename Fn1::argument_type& left) const;
};
The template class stores a copy of func, which must be a unary function object. It defines its member function
operator() as returning !func(left).
See also the Table of Contents and the Index.
Copyright © 1994-2001 by P.J. Plauger. Portions derived from work copyright © 1994 by Hewlett-Packard Company. All
rights reserved.