Boost.OpenMethod

    • Introduction
    • Open-Methods 101
    • Performance
    • Smart Pointers
    • Headers
    • Namespaces
    • Friendship
    • Multiple Dispatch
    • Advanced Features
      • Core API
      • Registries and Policies
      • Custom RTTI
      • Error Handling
      • Virtual Pointer Alternatives
      • Shared Libraries
    • Reference
      • Headers
      • Macros
      • Namespace boost::openmethod
  • boost::openmethod::final_virtual_ptr
arrow_upward

boost::openmethod::final_virtual_ptr

Create a virtual_ptr for an object of a known dynamic type.

Synopsis

Declared in <boost/openmethod/core.hpp>

template<class Arg>
auto
final_virtual_ptr(Arg&& obj);

Description

This is an overload of final_virtual_ptr that uses the default registry as the Registry template parameter.

See Also

final_virtual_ptr

Created with MrDocs