boost::msm::backmp11::reflect :: Boost Libraries Documentation

# boost::msm::backmp11::reflect

Reflects on a state_machine's members with a visitor.

## Synopsis

Declared in `<boost/msm/backmp11/state_machine.hpp>`

    template<
        typename FrontEnd,
        typename Config,
        typename Derived,
        typename Visitor>
    void
    reflect(
        state_machine<FrontEnd, Config, Derived> const& sm,
        Visitor&& visitor);

## Description

The visitor has to implement the methods:

- visit_front_end(auto&& front_end)

- visit_front_end(auto&& front_end, auto&& reflect)

- visit_member(const char* key, auto&& member)

- visit_state(size_t state_id, auto&& state)

- visit_state(size_t state_id, auto&& state, auto&& reflect)

## Parameters

Name | Description
sm | Back‐end for a state machine.

Created with MrDocs