std::pointer_to_binary_function
Da cppreference.com.
< cpp | utility | functional
|
|
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. |
| template< class Arg1, |
(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.
You can help to correct and verify the translation. Click here for instructions.
[modifica] Membri funzioni
| (constructor) |
constructs a new pointer_to_binary_function object with the supplied function (metodo pubblico) |
| operator() |
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
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.
You can help to correct and verify the translation. Click here for instructions.
| 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()
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.
You can help to correct and verify the translation. Click here for instructions.
| 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.
[modifica] Vedi anche
| (deprecato) |
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) |
| (deprecato) |
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) |