libstdc++
std::unary_function< _Arg, _Result > Struct Template Reference

#include <stl_function.h>

Inheritance diagram for std::unary_function< _Arg, _Result >:
[legend]

Public Types

typedef _Arg argument_type
 
typedef _Result result_type
 

Detailed Description

template<typename _Arg, typename _Result>
struct std::unary_function< _Arg, _Result >

Helper for defining adaptable unary function objects.

Deprecated:
Deprecated in C++11, no longer in the standard since C++17.

Definition at line 117 of file stl_function.h.

Member Typedef Documentation

◆ argument_type

template<typename _Arg , typename _Result >
typedef _Arg std::unary_function< _Arg, _Result >::argument_type

argument_type is the type of the argument

Definition at line 120 of file stl_function.h.

◆ result_type

template<typename _Arg , typename _Result >
typedef _Result std::unary_function< _Arg, _Result >::result_type

result_type is the return type

Definition at line 123 of file stl_function.h.


The documentation for this struct was generated from the following file: