stl_alloc.h

Benjamin Kosnik bkoz@redhat.com
Wed Nov 7 14:03:00 GMT 2001


> This file was next on my list to doxygenize.  I'm discovering that it's
> chock full of SGI'isms, including comments.  I am cleaning those up in those
> places which I know will not break things elsewhere, change the ABI, etc.

Kay. Removing cruft can be done in the 3.1 sources. This file has already 
diverged between gcc-3.x and gcc-3.1.

> The std::simple_alloc and std::debug_alloc types aren't used anywhere
> but in this file and pthread_allocimpl.h to provide nested typedefs.
> Also in backward/alloc.h.
> 
> They aren't uglified.  Should they be?  Correctness says yes,
> backwards-compatability and usefulness say no.

I vote for yes. Let's see what others think.

This is more of an issue in stl_algo* files: there are a lot of 
non-standard algorithms that I'd like to move to ext or some other namespace.

-benjamin



More information about the Libstdc++ mailing list