std::function::operator bool
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. |
explicit operator bool()const; | (dal C++11) | |
Verifica se *this memorizza un obiettivo callable funzione, vale a dire non è vuoto.
Original:
Checks whether *this stores a callable function target, i.e. is not empty.
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]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
true se *this memorizza un obiettivo callable funzione, false altrimenti.
Original:
true if *this stores a callable function target, false otherwise.
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.