Hi,
I want to forward declare a state machine which has a non-default
constructor.
I found this example here: http://stackoverflow.com/a/10922799/678093
But I can't call the non-default constructor of the state machine.
I either get
- "error: call of overloaded ‘fsm(int)’ is ambiguous" (if inheriting
constructors using C++11) or
- "error: no matching function for call to ‘wrapper::fsm::fsm(int)"
What can I do about it?
Thanks,
Manuel
Example:
------------------------
// wrapper.h
#include