BOOST_OPENMETHOD_REGISTER

Create a registrar object.

Synopsis

Declared in <boost/openmethod/macros.hpp>

#define BOOST_OPENMETHOD_REGISTER(…​)

Description

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

Parameters

Name

Description

...

The registrar's type. It is variadic so that it may contain unparenthesized commas, as in std::pair<int, int>.

See Also

Created with MrDocs