Boost logo

Boost Users :

Subject: [Boost-users] [MSM] exception_caught question
From: Christophe Henry (christophe.j.henry_at_[hidden])
Date: 2017-06-10 17:20:32


> I found that answer for exceptions which can occur during the processing:
>Here is handled the case that exception is derived from std::exception.
>What happens if not?
>Can the parameter be changed to std::exception_ptr or just a
> template Parameter?

only std::exception are caught. Others just go through and interrupt the
transition, which might leave the state machine in a dirty state, where an
entry or exit action would not have been called.


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at