Scroll to navigation

std::pointer_to_binary_function(3) Library Functions Manual std::pointer_to_binary_function(3)

NAME

std::pointer_to_binary_function -

One of the adaptors for function pointers.

SYNOPSIS

Inherits std::binary_function< _Arg1, _Arg2, _Result >.

Public Types


typedef _Arg1 first_argument_type
typedef _Result result_type
typedef _Arg2 second_argument_type

Public Member Functions


_Result operator() (_Arg1 __x, _Arg2 __y) const
pointer_to_binary_function (_Result(*__x)(_Arg1, _Arg2))

Protected Attributes


_Result(* _M_ptr )(_Arg1, _Arg2)

Detailed Description

template<typename _Arg1, typename _Arg2, typename _Result> class std::pointer_to_binary_function< _Arg1, _Arg2, _Result >

One of the adaptors for function pointers.

Definition at line 442 of file stl_function.h.

Member Typedef Documentation

template<typename _Arg1, typename _Arg2, typename _Result> typedef _Arg1 std::binary_function< _Arg1, _Arg2, _Result >::first_argument_type [inherited]

the type of the first argument (no surprises here)

Definition at line 114 of file stl_function.h.

template<typename _Arg1, typename _Arg2, typename _Result> typedef _Result std::binary_function< _Arg1, _Arg2, _Result >::result_type [inherited]

type of the return type

Definition at line 118 of file stl_function.h.

template<typename _Arg1, typename _Arg2, typename _Result> typedef _Arg2 std::binary_function< _Arg1, _Arg2, _Result >::second_argument_type [inherited]

the type of the second argument

Definition at line 117 of file stl_function.h.

Author

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

19 Jun 2018 libstdc++