On Thursday 08 January 2015 23:33:34 Thiago Macieira wrote:
>  * Q_CONSTEXPR - use only where required
> 
> You probably don't need this. You'll need it when accessing const data from
> a  Q_DECL_CONSTEXPR function. Otherwise, you won't need it.
> 
> You could use this to create a static-initialisation-time const variable of
> a  non-POD type, but since our sources still compile in C++98 and we still
> have a rule against non-POD statics, you should not do this.

Consensus, I think?

Thanks,
Marc

-- 
Marc Mutz <marc.m...@kdab.com> | Senior Software Engineer
KDAB (Deutschland) GmbH & Co.KG, a KDAB Group Company
Tel: +49-30-521325470
KDAB - The Qt Experts
_______________________________________________
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to