[Bug libstdc++/14493] No std::bad_alloc::what() const

gdr at integrable-solutions dot net gcc-bugzilla@gcc.gnu.org
Thu Mar 11 10:05:00 GMT 2004


------- Additional Comments From gdr at integrable-solutions dot net  2004-03-11 10:05 -------
Subject: Re:  No std::bad_alloc::what() const

"pme at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> writes:

| >  Especially compared to "bad allocation"?
| 
| Sure, we could change that.  I don't think "bad allocation" is any
| better than the demangled type name, but we shouldn't be printing
| a mangled typeid.  Others felt differently.

I agree with Phil that we should not have been printing the mangled
typeid.

-- Gaby


-- 


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



More information about the Gcc-bugs mailing list