operator==,!=(std::function)
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. |
template<class R, class... ArgTypes> bool operator==(const function<R(ArgTypes...)>& f, std::nullptr_t); | (1) | |
template<class R, class... ArgTypes> bool operator==(std::nullptr_t, const function<R(ArgTypes...)>& f ); | (2) | |
template<class R, class... ArgTypes> bool operator!=(const function<R(ArgTypes...)>& f, std::nullptr_t); | (3) | |
template<class R, class... ArgTypes> bool operator!=(std::nullptr_t, const function<R(ArgTypes...)>& f ); | (4) | |
Confronta una
std::function
con un puntatore nullo.Original:
Compares a
std::function
with a null pointer.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
f | - | std::function da confrontareOriginal: std::function to compareThe text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
[modifica]Valore di ritorno
1-2) !f
3-4) (bool) f
[modifica]Esempio
This section is incomplete Reason: no example |