Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
#include <QtCore/qcompilerdetection.h>
#include <QtCore/qtconfigmacros.h>
#include <QtCore/qtcoreexports.h>
#include <QtCore/qtnoop.h>
Go to the source code of this file.
Macros | |
#define | Q_STATIC_ASSERT_PRIVATE_JOIN(A, B) Q_STATIC_ASSERT_PRIVATE_JOIN_IMPL(A, B) |
#define | Q_STATIC_ASSERT_PRIVATE_JOIN_IMPL(A, B) A ## B |
#define | Q_STATIC_ASSERT(Condition) typedef char Q_STATIC_ASSERT_PRIVATE_JOIN(q_static_assert_result, __LINE__) [(Condition) ? 1 : -1]; |
#define | Q_STATIC_ASSERT_X(Condition, Message) Q_STATIC_ASSERT(Condition) |
#define Q_STATIC_ASSERT | ( | Condition | ) | typedef char Q_STATIC_ASSERT_PRIVATE_JOIN(q_static_assert_result, __LINE__) [(Condition) ? 1 : -1]; |
Definition at line 108 of file qassert.h.
Referenced by AndroidSurfaceTexture::AndroidSurfaceTexture(), QSSGRhiContext::QSSGRhiContext(), QV4::MemoryManager::allocManaged(), QQC2_NAMESPACE::QMacStyle::drawPrimitive(), QV4::Moth::dumpRegister(), getIndexBufferValue(), QIcc::parseDesc(), QIcc::parseTRC(), QRhiGles2::pipelineCacheData(), QRhiMetal::pipelineCacheData(), QRhiVulkan::pipelineCacheData(), QSSGLayerRenderData::prepareForRender(), qHash(), qt_scoreQuadratic(), readLowDepthIcon(), setAlphaDXT32Helper(), setAlphaDXT45Helper(), and QV4::JSTypesStackFrame::setupJSFrame().
#define Q_STATIC_ASSERT_PRIVATE_JOIN | ( | A, | |
B ) Q_STATIC_ASSERT_PRIVATE_JOIN_IMPL(A, B) |
#define Q_STATIC_ASSERT_X | ( | Condition, | |
Message ) Q_STATIC_ASSERT(Condition) |
Definition at line 111 of file qassert.h.
Referenced by QBiPointer< T, T2 >::QBiPointer(), QBiPointer< T, T2 >::QBiPointer(), QStyle::QStyle(), QQmlStringConverters::isValidNumberString(), textureMemorySize(), and QQmlStringConverters::valueTypeFromNumberString().