>>308
> namespace NS {
> class A {};
friend
> void operator<< (std::ostream& os, const A& a) {}
> }
か?