On Friday, 22 February 2019 12:38:55 PST Giuseppe D'Angelo via Development wrote: > IIRC, the reason for qVariantSetValue is to work around VS2005 not > supporting member function templates.
Almost. That wasn't VS2005 (a.k.a VS 8.0) that had the problem. It was VS 6.0, which predated the C++98 template definition. You can still see a bunch of other relics of that in template functions that take an extra T* parameter that is defaulted to nullptr. They're usually #ifdef'ed out for QDoc. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel System Software Products _______________________________________________ Development mailing list [email protected] https://lists.qt-project.org/listinfo/development
