std::function::target_type
Da cppreference.com.
< cpp | utility | functional | function
![]() |
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. |
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.
You can help to correct and verify the translation. Click here for instructions.
Indice |
[modifica] 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.
You can help to correct and verify the translation. Click here for instructions.
[modifica] 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.
You can help to correct and verify the translation. Click here for instructions.
[modifica] Eccezioni
[modifica] Esempio
This section is incomplete Reason: no example |
[modifica] Vedi anche
target_type |
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) |