John Levon <[EMAIL PROTECTED]> writes: | On Wed, Dec 11, 2002 at 12:18:25AM +0100, Lars Gullik Bjønnes wrote: | | > basically most special/general to least special/general. | | Erm, most special or most general ?
Blame it on the Pub... most special to most general Our own header files are special, C++ standard headers are general. | note qt2/ has to do spiecial things due to Qt headers anyway Yes I am aware of this... (One of the reason I have not been over the Qt headers with a coarse comb) | > | > | + font_info * fi = | > | > | fontinfo_[f.family()][f.series()][f.realShape()][f.size()]; | > | > | > | > And why cannot these be left const? | > | | > | Because we have to modify the std::map | > | > not if you change the ... | | They still have to be non-const ... has nothing to do with reuse of "fi" | (which I've changed) This I do not quite get. Is it the function calling this that needs it non-const? | > I'd say that unless you have a very good reason, go with int. | > If you can show that this takes unduly amounts of memory then it can | > be changed. | | int it is. I'll commit Ok -- Lgb