In c++ how can I make class to recognize structures without including the header?
<p>Hello 
I have class AA.h and inside I have defined structure:   </p>

<pre><code>#include "BB.h"

Struct  foo{

};

Class AA 
{
…
void funa()
{
    BB bb;
    foo f;
    bb.func(f);
}
….
};
</code></pre>

<p>My question is do I have to include the AA.h also in the BB.h file so it will recognize   the foo struct or there is something else I can do ?</p>
