Language
C++
Compiler
clang 7.0.0
Options
Warnings
Boost 1.69.0
C++2a(GNU)
no pedantic
$ clang++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.69.0/clang-7.0.0/include -std=gnu++2a
Normal::on_entry()
Idle::on_entry()
> Send ev1()
Idle::on_exit()
Work::on_entry()
> Send ev2()
Work::on_exit()
AllOk::on_entry()
> Send stop()
AllOk::on_exit()
Normal::on_exit()
EmergencyStopped::on_entry()
> Send recover()
EmergencyStopped::on_exit()
Normal::on_entry()
Idle::on_entry()
Exit Code:
0