std::function::operator bool
Da cppreference.com
< cpp | utility | functional | function
![]() | This page has been machine-translated from the English version of the wiki using Google Translate. The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
explicit operator bool()const; | (desde C++11) | |
Verifica se *this armazena um alvo função exigível, ou seja, não está vazia.
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.
[editar]Parâmetros
(Nenhum)
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.
[editar]Valor de retorno
true se *this armazena uma função alvo pode ser chamado, caso contrário false.
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.