Standard C++ Library Class Reference
Interface
 template <class Arg, class Result>
 struct unary_function{
 typedef Arg argument_type;
 typedef Result result_type;
 };
 template <class Arg1, class Arg2, class Result>
 struct binary_function{
 typedef Arg1 first_argument_type;
 typedef Arg2 second_argument_type;
 typedef Result result_type;
 };
 // Arithmetic Operations
 template<class T>
 struct plus : binary_function<T, T, T> {
 T operator() (const T&, const T&) const;
};
template <class T>
struct minus : binary_function<T, T, T> {
 T operator() (const T&, const T&) const;
};
template <class T>
struct times : binary_function<T, T, T> {
 T operator() (const T&, const T&) const;
};
template <class T>
struct divides : binary_function<T, T, T> {
 T operator() (const T&, const T&) const;
};
template <class T>
struct modulus : binary_function<T, T, T> {
 T operator() (const T&, const T&) const;
};
template <class T>
struct negate : unary_function<T, T> {
 T operator() (const T&) const;
};
 // Comparisons
template <class T>
struct equal_to : binary_function<T, T, bool> {
 bool operator() (const T&, const T&) const;
};
 template <class T>










