This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/21764] visibility attributes on namespace scope



------- Comment #7 from bkoz at gcc dot gnu dot org  2005-11-17 23:53 -------

What do you mean, "less or equal visibility to their enclosing scope?"

My meta-goal is to try and give namespace and class scope visibilty attributes
similar meanings. Do you think this is worthwhile, possible, and do you think
this is a good idea?

Yeah, maybe default namespace with hidden nested makes more sense for the
examples. However, wouldn't both have to be supported, anyway? 

These kinds of "nonsensical" examples are possible with existing visibility
attributes on classes. I'm just trying to keep the other scoping mechanism in
mind (class scope) when thinking about how it applies to namespaces.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21764


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]