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>.
Loading...
Searching...
No Matches
qassert.h File Reference

(7b3da9aa0421369f84e7a1ea32df350821440d4b)

#include <QtCore/qcompilerdetection.h>
#include <QtCore/qtconfigmacros.h>
#include <QtCore/qtcoreexports.h>
#include <QtCore/qtnoop.h>
+ Include dependency graph for qassert.h:
+ This graph shows which files directly or indirectly include this file:

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)
 

Macro Definition Documentation

◆ Q_STATIC_ASSERT

◆ Q_STATIC_ASSERT_PRIVATE_JOIN

#define Q_STATIC_ASSERT_PRIVATE_JOIN ( A,
B )   Q_STATIC_ASSERT_PRIVATE_JOIN_IMPL(A, B)

Definition at line 102 of file qassert.h.

◆ Q_STATIC_ASSERT_PRIVATE_JOIN_IMPL

#define Q_STATIC_ASSERT_PRIVATE_JOIN_IMPL ( A,
B )   A ## B

Definition at line 103 of file qassert.h.

◆ Q_STATIC_ASSERT_X