[Development] [Interest] Need help with deprecated QVariant functions

Thiago Macieira thiago.macieira at intel.com
Fri Feb 22 23:26:24 CET 2019


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






More information about the Development mailing list