std::function::target_type
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. |
const std::type_info& target_type() const; |
(desde C++11) | |
Retorna o tipo de função armazenada.
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.
Índice |
[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
typeid(T) se a função armazenado tem
T
tipo, caso contrário 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.
[editar] Exceções
[editar] Exemplo
Esta seção está incompleta Motivo: sem exemplo |
[editar] Veja também
target_type |
obtém o typeid do alvo armazenados de uma 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. (função pública membro) |