A. It is because of cyclic-imports. One file imported to other file and the other file imported back to first one. To avoid this one should use "Forward Class reference"
@class
It's explained here : http://timburrell.net/blog/2008-11-23/effective-c-cyclical-dependencies/
No comments:
Post a Comment