Name
unary_function class template — Base class for unary functionals
Synopsis
template <typename Arg, typename Result> struct unary_function { typedef Arg argument_type; typedef Result result_type; };
The unary_function
template
is a base class for all the function classes that represent unary
operations. It provides standard names for the argument and result
types.
See Also
binary_function class
template, binder1st class
template, binder2nd class
template, const_mem_fun_ref_t
class template, const_mem_fun_t class template,
mem_fun_ref_t class template,
mem_fun_t class template,
negate class template, pointer_to_unary_function class
template, unary_negate
class template
Get C++ In a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.