struct B;
struct A
{
void test(B& b);
};
struct B
{
void test(A& a){}
void hello(){}
};
void A::test(B& b){b.hello();}
これでどーよ?