Scroll to navigation

std::unary_function< _Arg, _Result >(3cxx) std::unary_function< _Arg, _Result >(3cxx)

NAME

std::unary_function< _Arg, _Result >

SYNOPSIS

#include <functional>

Inherited by std::pointer_to_unary_function< _Arg, _Result >.

Public Types


typedef _Arg argument_type
argument_type is the type of the argument typedef _Result result_type
result_type is the return 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 functional.

Member Typedef Documentation

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 functional.

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 functional.

Author

Generated automatically by Doxygen for libstdc++ from the source code.

Sun Jan 8 2023 libstdc++