> I've had second thoughts about this. The reflected methods don't have > C++ > equivalents so it's not obvious what they should do - and you don't need > them > anyway. > > I don't know if Float is a real class, or you mean the C++ float or > double. > I'll assume the latter. > > I assume that the C++ library has... > > MyVectorClass MyVectorClass::operator*(double); > > If the C++ library supports the reflected version then I assume it also > has... > > MyVectorClass operator*(double, const MyVectorClass &); > > ...in which case you just wrap it as normal.
Oops, hadn't occurred to me to try that. Thanks, -Jim _______________________________________________ PyQt mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/pyqt
