This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [Patch] Convert pool_allocator
On Mon, 2004-03-22 at 15:13, Paolo Carlini wrote:
>
> >3. There is a line:
> >if (__builtin_expect(__ret == 0, 0))
> >__throw_bad_alloc();
> >
> >
> Same, was already there. Let's keep the old behavior for now.
Seems like the remains of a patch that changed all references from
malloc to operator new, but did not change the above :-)
--
-Dhruv Matani.
http://www.geocities.com/dhruvbird/
Proud to be a Vegetarian.
http://www.vegetarianstarterkit.com/
http://www.vegkids.com/vegkids/index.html