[Development] templated QObjects [was: Re: We are planning to upgrade qdoc to use clang for parsing C++]

Thiago Macieira thiago.macieira at intel.com
Wed Mar 2 18:47:33 CET 2016

On quarta-feira, 2 de março de 2016 16:48:08 PST Milian Wolff wrote:
> A simple solution would then be a macro for an explicit instantiation,
> similar  to what we already do with
> generate the static meta object. That should work, no?

That is the case I mentioned before: the template class's author needs to know 
each and every possible instantiation ahead of time and instantiate them. 
Unlikely to be acceptable use-case.

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

More information about the Development mailing list