Name

plus class template — Binary functional for addition

Synopsis

template <typename T>
struct plus : binary_function<T, T, T>
{
  T operator(  )(const T& x, const T& y) const;
};

The plus class template is a binary functional in which operator( ) returns x + y.