[Development] Q_COMPILER_VARIADIC_TEMPLATES since Qt 5.7

Thiago Macieira thiago.macieira at intel.com
Thu Dec 22 12:10:05 CET 2016


Em quinta-feira, 22 de dezembro de 2016, às 13:06:58 BRST, Александр Волков 
escreveu:
> Hi,
> 
> It is stated in https://codereview.qt-project.org/#/c/168057/ that
> Q_COMPILER_VARIADIC_TEMPLATES is required since Qt 5.7.
> It is true? Can I use QOverload which depends on it (
> https://codereview.qt-project.org/#/c/180525/ ) ?

qOverload requires C++14 variable templates.

QOverload could be used, but I'd rather you didn't use it in the Qt sources. 
It's a bit ugly.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Development mailing list