boost::openmethod::policies::deferred_static_rtti
Policy for deferred type id collection.
Synopsis
Declared in <boost/openmethod/preamble.hpp>
struct deferred_static_rtti
: rtti
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.