std::pointer_to_unary_function(3)

std::pointer_to_unary_function3

One of the adaptors for function pointers.

Usage

#include <functional>

Inherits std::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

Public Member Functions

pointer_to_unary_function (_Result(*__x)(_Arg))
_Result operator() (_Arg __x) const

Protected Attributes

_Result(* _M_ptr )(_Arg)

Detailed Description

template<typename _Arg, typename _Result>

class std::pointer_to_unary_function< _Arg, _Result >"One of the adaptors for function pointers.

Member Typedef Documentation

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

argument_type is the type of the argument

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

result_type is the return type

Releases

4 releases since Debian 3.1 (Sarge); the text changed 3 times.

  1. 3.1
  2. 4.0
  3. 5.0
  4. Arch

Author

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

From gcc 16.2.1+r23+gd564253eb6c8-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.