[Development] constexpr and qMetaTypeId<>()

Thiago Macieira thiago.macieira at intel.com
Thu Sep 12 04:12:26 CEST 2013


On quarta-feira, 11 de setembro de 2013 14:29:44, achartier at fastmail.fm wrote:
> Hello,
> 
> I'd like to use qMetaTypeId<>() in a constexpr expression. 

You can't. The types are registered at runtime.

> Any help is greatly appreciated.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/development/attachments/20130911/fb228264/attachment.sig>


More information about the Development mailing list