This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/21764] visibility attributes on namespace scope
- From: "bkoz at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Nov 2005 23:53:55 -0000
- Subject: [Bug c++/21764] visibility attributes on namespace scope
- References: <bug-21764-365@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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