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
    • Acknowledgements
  • boost::openmethod::registry::state
arrow_upward

boost::openmethod::registry::state

state overloads

Synopses

Declared in <boost/openmethod/preamble.hpp>

Return the registry's mutable state.

static
auto&
state();

» more...

Return a policy's state.

template<class P>
static
auto&
state();

» more...

Template Parameters

Name

Description

P

A stateful policy of this registry, i.e. one whose fn<Registry> contains a nested state type.

Created with MrDocs