This is the mail archive of the gcc-patches@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]

Re: Next round of new demangler patches


mec.gnu@mindspring.com (Michael Elizabeth Chastain) writes:

| (1) std::string::~string()
| 
|     This is bad because it's not legal C++.  Try compiling the appended
|     program with a typedef'd template.  I'm really opposed to emitting
|     illegal C++ in a programmatic interface.

I agree that std::string::~string() is ill-formed (I just did my
homework I should have done), however your last sentence scaries me
(no offense intended).  How do you handle the various examples that
have been posted concerning convesion functions (and I can also cook
ones with p->~int() involved)?

-- Gaby


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