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 libstdc++/14926] [3.4/3.5 regression] forward declarations and strong using


------- 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


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