クラス内部に定義されたクラスを前方で参照することって出来ないんでしたっけ?

void func(struct A::B& x) { ... } ←ここをどうにかしたい

struct A
{
 struct B { ... };
};