Share via


minus

minus

template<class T>
    struct minus : public binary_function<T, T, T> {
    T operator()(const T& x, const T& y) const;
    };

The template class defines its member function as returning x - y.

See the related sample program.