namespace AAA {
void func() {}
}
class Hoge {
friend void AAA::func();
};
とするとコンパイルできません。どうすればよいですか?