std::pointer_to_unary_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 Arg, | (deprecato) | |
std::pointer_to_unary_function
è un oggetto funzione che funge da wrapper per una funzione unaria.Original:
std::pointer_to_unary_function
is a function object that acts as a wrapper around a unary 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
(costruttore) | constructs a new pointer_to_unary_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_unary_function ::Original:std::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.pointer_to_unary_function
Original:
std::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.
You can help to correct and verify the translation. Click here for instructions.
explicit pointer_to_unary_function( Result (*f)(Arg)); | ||
Constructs a pointer_to_unary_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_unary_function ::Original:std::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.operator()
Original:
std::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.
You can help to correct and verify the translation. Click here for instructions.
Result operator()( Arg x )const; | ||
Calls the stored function.
Parameters
x | - | argomento da passare alla funzione Original: argument 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 binaria Original: adaptor-compatible wrapper for a 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. (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) |