problem with forward declaration
I’ve got a problem with a forward declaration. My source tree structure is as follows:
- + src
- + daemon
where daemon.h uses Role via forward declaration:
and when I compile the project I got the following error for the Daemon::roles() method:
- error: ‘Role’ was not declared in this scope
Am I missing something?