boost::openmethod::weak_virtual_ptr::weak_virtual_ptr
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>, const std::weak_ptr<Other>&>
weak_virtual_ptr(weak_virtual_ptr<Other, Registry> const& other);
Description
Copy the v‐table pointer and the std::weak_ptr from other.
Requirements
-
std::weak_ptr<Class>must be constructible fromconst std::weak_ptr<Other>&.
Parameters
Name |
Description |
other |
A |
Created with MrDocs