[libstdc++] PATCH: STL allocator cleanup, part 1

Gabriel Dos Reis gdr@integrable-solutions.net
Thu Dec 18 05:17:00 GMT 2003


Matt Austern <austern@apple.com> writes:

| > | I'm probably missing something.  What kind of documentation do you
| > | have in mind?
| >
| > These hunks
| >
| > +     _Tp** _M_map;
| > +     size_t _M_map_size;
| >
| >
| > +       _Tp*           _M_start;
| > +       _Tp*           _M_finish;
| > +       _Tp*           _M_end_of_storage;
| >
| > seem to be data member addition to me.  Am I missing something?
| 
| Yes and no.  They aren't new data members; I'm simplifying the
| class hierarchy, giving vector (for example) a two-level hierarchy
| instead of a three-level one, so I'm moving data members from the
| class I'm eliminating into other classes.

In that case, I'm probably worrying for nothing serious.

Thanks,

-- Gaby
 



More information about the Gcc-patches mailing list