Boost.OpenMethod

    • Motivation
    • Basic Features
      • Methods and Overriders
      • Performance
      • Smart Pointers
      • Header and Implementation Files
      • Namespaces
      • Friends
      • Multiple Dispatch
    • Advanced Features
      • Core API
      • Registries and Policies
      • Custom RTTI
      • Error Handling
      • Virtual Pointer Alternatives
      • Interoperation with any
      • Interoperation with Boost.TypeErasure
      • Shared Libraries
    • Reference
      • Headers
      • Macros
      • Namespace boost::openmethod
    • Acknowledgements
  • boost::openmethod::openmethod_vptr::apply
arrow_upward

boost::openmethod::openmethod_vptr::apply

Returns the v‐table pointer for the bound type.

Synopsis

Declared in <boost/openmethod/interop/boost_type_erasure.hpp>

static
vptr_type
apply(T const&);

Description

Also registers T, and the owning any for Concept as its base, by odr‐using their registrars.

Return Value

The registry::static_vptr for T.

Created with MrDocs