◐ Shell
clean mode source ↗

std::pointer_to_unary_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 Arg, class Result > class pointer_to_unary_function : public std::unary_function<Arg, Result>;

(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.

Membri funzioni

constructs a new pointer_to_unary_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_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

<tbody> </tbody>

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()

<tbody> </tbody>

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.

Vedi anche

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) [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]