patch: mt_allocator.h
Paolo Carlini
pcarlini@suse.de
Fri Jun 11 09:46:00 GMT 2004
Benjamin Kosnik wrote:
>Why this?
>
>2004-03-27 Paolo Carlini <pcarlini@suse.de>
>
> * include/ext/mt_allocator.h: Uglify consistently names of
> variables, members and classes; tidy.
>
>
Basically, consistency with pool_allocator.
>In the new patch, I really dislike the idea of making a dummy template,
>just to work around linkage problems. That particular hack is something
>that we're trying to remove, not propagate...
>
>I'd rather have lazy initialization of the __mt_base class data, and
>have __mt_base be a simple class, and not be a template. I'll try to
>work up that solution.
>
>
Indeed, that's a possibility, requiring much more restructuring of the
original
design, but worthy, if really feasible in a clean way.
Thanks!
Paolo.
More information about the Libstdc++
mailing list