boost::openmethod::weak_virtual_ptr::operator=
Move‐assign from a weak_virtual_ptr to a derived class
Synopsis
Declared in <boost/openmethod/interop/std_weak_ptr.hpp>
template<class Other>
requires std::is_assignable_v<
std::weak_ptr<Class>&, std::weak_ptr<Other>&&>
weak_virtual_ptr&
operator=(weak_virtual_ptr<Other, Registry>&& other) noexcept;
Description
Copy the v‐table pointer from other, and set it to nullptr in other. Move the std::weak_ptr from other.
Requirements
-
std::weak_ptr<Class>must be assignable fromstd::weak_ptr<Other>&&.
Parameters
Name |
Description |
other |
A |
Created with MrDocs