Boost.OpenMethod

    • Tutorials
      • Hello World
      • Multiple Dispatch
      • Headers and Namespaces
      • Friendship
      • Performance
      • Smart Pointers
      • Virtual Pointer Alternatives
      • Core API
      • Registries and Policies
      • Error Handling
      • Custom RTTI
      • Dynamic Loading
    • Reference
  • boost::openmethod::virtual_ptr<Class, Registry>::virtual_ptr
arrow_upward

boost::openmethod::virtual_ptr<Class, Registry>::virtual_ptr

Synopsis

Declared in <boost/openmethod/core.hpp>

template<class Other>
requires same_smart_ptr<Class, Other, Registry> &&
            std::is_constructible_v<Class, Other&&> &&
            is_polymorphic<element_type, Registry>
virtual_ptr(Other&& other);

Created with MrDocs