Document Q_DECL_CONSTEXPR
Change-Id: I61f4017186e8c7b943855723d7c677a01f7a7bf7 Reviewed-by: Denis Dzyubenko <denis.dzyubenko@nokia.com>bb10
parent
0d128aded5
commit
d057065cbb
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue