![]() |
![]()
| ![]() |
![]()
NAMEstd::enable_shared_from_this::weak_from_this - std::enable_shared_from_this::weak_from_this Synopsis std::weak_ptr<T> weak_from_this() noexcept; (1)
(since C++17)
Notes This is a copy of the private mutable weak_ptr member that is
part of
Return valuestd::weak_ptr<T> that shares ownership of *this with pre-existing std::shared_ptrs Example This section is incomplete
See also shared_ptr smart pointer with shared object ownership semantics
|