[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



------- Additional Comments From zack at gcc dot gnu dot org  2004-03-09 04:45 -------
It appears to me that the original reporter wanted what() to return
an "intelligible error message" a la icc's "bad allocation", rather
than "St9bad_alloc"  (which does communicate the same information but
in a more cryptic fashion).

I do think there should be a place in the standard library for nice 
friendly names for exceptions (think strerror()), but I don't know 
if what() is that place.


-- 


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

------- You are receiving this mail because: -------
You reported the bug, or are watching the reporter.



Reply to: