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
      • Shared Libraries
    • Reference
      • Headers
      • Macros
      • Namespace boost::openmethod
  • BOOST_OPENMETHOD_REGISTER
arrow_upward

BOOST_OPENMETHOD_REGISTER

Synopsis

Defined in <boost/openmethod/macros.hpp>.

BOOST_OPENMETHOD_REGISTER(TYPE);

Description

Creates a registrar for TYPE, i.e. a static TYPE object with a unique generated name. At static initialization time, the object adds itself to a list: methods and class registrations add themselves to a registry, and overriders add themselves to a method’s overrider list.

Edit this Page