This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Why a try/catch in priority_queue::push/pop?!?
Paolo Carlini wrote:
Hi Howard,
I think the try/catch is very old, coming from the HP/SGI STL,
maybe I missing historical facts which I'd like to know... Anyone
helping?
<shakes head> Can't blame this one on HP/SGI, just checked, no-try/
catch there. :-)
I see... But I can find the strange beast already in libstdc++-v2, in
gcc2.95.3, a *lot* of time! (admittedly I never played myself with the
original HP/SGI STL, as distributed from the SGI web site, for
example, only some friends of mine did...)
But... I think I can see it:
http://www.sgi.com/tech/stl/stl_queue.h
???
Paolo.