Namespaces
Variants
Views
Actions

std::enable_shared_from_this::operator=

From cppreference.com
 
 
 
 
 
enable_shared_from_this<T>& operator=(const enable_shared_from_this<T> &obj) noexcept;

Assigns obj to *this.

Contents

[edit] Parameters

obj - an enable_shared_from_this to assign to *this

[edit] Return value

*this

[edit] Exceptions

noexcept specification:  
noexcept
  (since C++11)

[edit] Example

[edit] See also

smart pointer with shared object ownership semantics
(class template) [edit]