------- Additional Comments From giovannibajo at libero dot it 2005-05-26 10:18 ------- Please, explicitally specify how you would like this to work with nested namespaces.
Also, whoever implements this should also make sure it works correctly with namespace: namespace N __attribute__((visibility ("hidden"))) { template <class T> struct B { B() {} ~B() {} void foo(void) {} }; template <> struct B<int>; } template <> struct ::N::B<int> { void bar(void) {} // still hidden! } -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21764