Marc Mutz [marc.m...@kdab.com] > On Monday February 20 2012, andre.poen...@nokia.com wrote: > > PS: If we agree that template <class T> QRectBase; class QRectF : > > QRectBase<float> class QRectD : QRectBase<double> etc would be acceptable > > for 5.0 I'd try to come up with a patch for (b). For (a) the short solution > > would be simply making the typedef unconditional, or in the luxury variant > > to add a configure switch (which I'd try to avoid...) > > Why not just use a typedef: > > typedef QRectImpl<int> QRect; > typedef QRectImpl<double> QRectD; > typedef QRectImpl<float> QRectF;
To keep it source compatible with code using forward-declarations of QRectF etc. Not exactly a big issue, but no need to break it... Andre' _______________________________________________ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development