This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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: Why a try/catch in priority_queue::push/pop?!?


On Aug 3, 2006, at 4:04 PM, Paolo Carlini wrote:

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

???

Interesting. I was looking at file called stack.h which only has the '94 HP copyright. Looks like SGI added it.


I still disagree with it. :-)

-Howard


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