This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: patch: mt_allocator.h
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.