◐ Shell
clean mode source ↗

std::function::target_type - 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>

const std::type_info& target_type() const;

(dal C++11)

Restituisce il tipo della funzione memorizzato.

Original:

Returns the type of 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.

Parametri

(Nessuno)

Original:

(none)

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

Valore di ritorno

typeid(T) se la funzione ha conservato T tipo, altrimenti typeid(void)

Original:

typeid(T) if the stored function has type T, otherwise typeid(void)

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

Eccezioni

Esempio

Vedi anche

ottiene il typeid del target memorizzato di un std::function

Original:

obtains the typeid of the stored target of a std::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) [modifica]