This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: stl_alloc.h
- From: Benjamin Kosnik <bkoz at redhat dot com>
- To: Phil Edwards <pedwards at disaster dot jaj dot com>
- Cc: libstdc++ at gcc dot gnu dot org
- Date: Tue, 20 Nov 2001 19:37:27 -0800 (PST)
- Subject: Re: stl_alloc.h
> 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