boost::openmethod::weak_virtual_ptr::weak_virtual_ptr
Move‐construct 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_constructible_v<
std::weak_ptr<Class>, std::weak_ptr<Other>&&>
weak_virtual_ptr(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 constructible fromstd::weak_ptr<Other>&&.
Parameters
Name |
Description |
other |
A |
Created with MrDocs