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 ? note qt2/ has to do spiecial things due to Qt headers anyway > | > | + 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) > 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 regards john -- "Saying that taste is just personal preference is a good way to prevent disputes. The trouble is, it's not true." - Paul Graham