NOTE: on reset: "tinyfsm::StateList ::reset()", copy constructor is used by default, so "this" points to neither "Off" nor "On" (see operator=() below).
| 23 | // constructor is used by default, so "this" points to neither |
| 24 | // "Off" nor "On" (see operator=() below). |
| 25 | Switch() : counter(0) { |
| 26 | std::cout << "* Switch()" << std::endl |
| 27 | << " this = " << this << std::endl; |
| 28 | } |
| 29 | |
| 30 | ~Switch() { |
| 31 | std::cout << "* ~Switch()" << std::endl |
nothing calls this directly
no outgoing calls
no test coverage detected