boost::openmethod::registry::state

Return the registry's mutable state.

Synopsis

Declared in <boost/openmethod/preamble.hpp>

static
auto&
state();

Description

Everything mutable in a registry ‐ the class and method registration lists, the dispatch tables, and the state of every stateful policy ‐ is agglomerated in a single variable, registry_state<registry_type>::st. state returns a reference to it.

Modules (executables and shared libraries) contributing to the same registry must share this one variable; see registry_state.

Created with MrDocs