Document Q_DECL_CONSTEXPR

Change-Id: I61f4017186e8c7b943855723d7c677a01f7a7bf7
Reviewed-by: Denis Dzyubenko <denis.dzyubenko@nokia.com>
bb10
Olivier Goffart 2012-01-13 18:28:07 +01:00 committed by Qt by Nokia
parent 0d128aded5
commit d057065cbb
1 changed files with 11 additions and 0 deletions

View File

@ -3160,6 +3160,17 @@ bool QInternal::activateCallbacks(Callback cb, void **parameters)
\sa Q_DECL_EXPORT
*/
/*!
\macro Q_DECL_CONSTEXPR
\relates <QtGlobal>
This macro can be used to declare variable that should be constructed at compile-time,
or an inline function that can be computed at compile-time.
It expands to "constexpr" if your compiler supports that C++11 keyword, or to nothing
otherwise.
*/
#if defined(Q_OS_SYMBIAN)
#include <typeinfo>