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; ? Thanks, Marc -- Marc Mutz <marc.m...@kdab.com> | Senior Software Engineer KDAB (Deutschland) GmbH & Co.KG, a KDAB Group Company www.kdab.com || Germany +49-30-521325470 || Sweden (HQ) +46-563-540090 KDAB - Qt Experts - Platform-Independent Software Solutions _______________________________________________ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development