boost::openmethod::policies::deferred_static_rtti

Policy for deferred type id collection.

Synopsis

struct deferred_static_rtti
    : rtti

Base Classes

Name Description

rtti

Policy for manipulating type information.

Description

Some custom RTTI systems rely on static constructors to assign type ids. OpenMethod itself relies on static constructors to register classes, methods and overriders. This creates order‐of‐initialization issues. Deriving a rtti policy from this class ‐ instead of just rtti ‐ causes the collection of type ids to be deferred until the first call to update.

Created with MrDocs