Standard C++ Library Class Reference

typedef typename unary_function<T,T>::argument_type argument_type;
typedef typename unary_function<T,T>::result_type result_type;
T operator() (const T&) const;
};
Warning
If your compiler does not support default template parameters, then you need to always supply the Allocator template
argument. For instance, you will need to write :
vector<int, allocator>
instead of :
vector<int>
See Also
Function Objects, unary_function