negate

This function returns the negative value of the argument.

  template <class T> struct negate : unary_function<T,T> 
  {
    T operator()(const T& x) const;
  };  
Remarks

Returns the negative of x.