std::enable_shared_from_this::operator=
De cppreference.com
|
|
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. |
<metanoindex/>
<tbody> </tbody> enable_shared_from_this<T>& operator=(const enable_shared_from_this<T> &obj) noexcept; |
||
Atribui
obj para *this.Original:
Assigns
obj to *this.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.
Parâmetros
| obj | - | um
enable_shared_from_this atribuir a *this Original: an enable_shared_from_this to assign to *this The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
Valor de retorno
*this
Exceções
Exemplo
| Esta seção está incompleta Motivo: sem exemplo |
Veja também
(C++11) |
smart pointer with shared object ownership semantics (modelo de classe) |