◐ Shell
clean mode source ↗

std::pointer_to_binary_function – cppreference.com

Aus cppreference.com

<metanoindex/>

<tbody> </tbody>

template< class Arg1, class Arg2, class Result > class pointer_to_binary_function : public std::binary_function<Arg1, Arg2, Result>;

(veraltet)

std::pointer_to_binary_function ist eine Funktion Objekt, das als Wrapper für eine binäre Funktion wirkt .

Original:

std::pointer_to_binary_function is a function object that acts as a wrapper around a binary function.

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Member-Funktionen

constructs a new pointer_to_binary_function object with the supplied function
(öffentliche Elementfunktion)

ruft die gespeicherte Funktion

Original:

calls the stored function

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(öffentliche Elementfunktion)

std :: pointer_to_binary_function ::

Original:

std::pointer_to_binary_function::

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

pointer_to_binary_function

<tbody> </tbody>

explicit pointer_to_binary_function( Result (*f)(Arg1,Arg2) );

Constructs a pointer_to_binary_function function object with the stored function f.

Parameters

f -

Zeiger auf eine Funktion zum Speichern

Original:

pointer to a function to store

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

std :: pointer_to_binary_function ::

Original:

std::pointer_to_binary_function::

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

operator()

<tbody> </tbody>

Result operator()( Arg1 x1, Arg2 x2 ) const;

Calls the stored function.

Parameters

x1, x2 -

Argumente, die an die Funktion übergeben

Original:

arguments to pass to the function

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Return value

The value returned by the called function.

Siehe auch

Adapter-kompatiblen Wrapper für einen Zeiger auf einstellige Funktion

Original:

adaptor-compatible wrapper for a pointer to unary function

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Klassen-Template) [edit]

schafft eine Adapter-kompatiblen Funktion Objekt-Wrapper von einem Zeiger auf eine Funktion

Original:

creates an adaptor-compatible function object wrapper from a pointer to function

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(Funktions-Template) [edit]