This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/14926] [3.4/3.5 regression] forward declarations and strong using
- From: "gdr at integrable-solutions dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Apr 2004 19:48:27 -0000
- Subject: [Bug libstdc++/14926] [3.4/3.5 regression] forward declarations and strong using
- References: <20040412174718.14926.vassili_bourdo@softhome.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From gdr at integrable-solutions dot net 2004-04-12 19:48 -------
Subject: Re: [3.4/3.5 regression] forward declarations and strong using
"bangerth at dealii dot org" <gcc-bugzilla@gcc.gnu.org> writes:
| ------- Additional Comments From bangerth at dealii dot org 2004-04-12 19:03 -------
| Alright then. I thought that this is something we should think about
| for the C++ side (not the libstdc++ side) regarding the semantics we
| give the strong using extension. However, you are right that we do
| not have to worry about this: as far as the library is concerned, the
| user can't rely on forward declaring stuff anyway (we are, IIRC, allowed
| to introduce additional template default parameters for example), and if
Err, we're not allowed to introduce additional default template
parameters (contrary to what the latitude parameters for non virtual
member functions)
| this happens in user space with a user using "strong using", we can simply
| tell him to forward declare in the right namespace.
Yes, "strong using" is for the super user :-)
-- Gaby
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14926