◐ Shell
clean mode source ↗

std::pointer_to_binary_function - cppreference.com

Da cppreference.com.

Questa pagina è stata tradotta in modo automatico dalla versione in ineglese della wiki usando Google Translate.

La traduzione potrebbe contenere errori e termini strani. Muovi il puntatore sopra al testo per vedere la versione originale. Puoi aiutarci a correggere gli gli errori. Per ulteriori istruzioni clicca qui.

Click here for the English version of this page

<metanoindex/>

<tbody> </tbody>

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

(deprecato)

std::pointer_to_binary_function è un oggetto funzione che funge da wrapper per una funzione binaria.

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.

Membri funzioni

constructs a new pointer_to_binary_function object with the supplied function
(metodo pubblico)

chiama la funzione memorizzato

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.


(metodo pubblico)

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 -

puntatore ad una funzione per memorizzare

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 -

argomenti da passare alla funzione

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.

Vedi anche

adattatore compatibile wrapper per un puntatore a funzione unaria

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.


(classe template) [modifica]

crea un adattatore compatibile con wrapper di oggetto funzione da un puntatore a funzione

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.


(funzione di modello) [modifica]