std::allocator::destroy - cppreference.com
De cppreference.com
<metanoindex/>
<tbody> </tbody>
| Definido no cabeçalho <memory> |
||
|
|
(até C++11) | |
|
|
(desde C++11) | |
Calls the destructor of the object pointed to by p
1)
Chama ((T*)p)->~T()
Original:
Calls ((T*)p)->~T()
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
2)
Chama p->~U()
Original:
Calls p->~U()
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Parâmetros
| p | - | ponteiro para o objeto que vai ser destruído Original: pointer to the object that is going to be destroyed The text has been machine-translated via Google Translate. |
Valor de retorno
(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.
Veja também
destrói um objeto armazenado no armazenamento alocado Original: destructs an object stored in the allocated storage The text has been machine-translated via Google Translate. (modelo de função) [edit] | |