Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qassert.h File Reference

(0a0aed0fcd2eeeb28071ccc1ab1b04a781076133)

#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)
#define Q_STATIC_ASSERT_PRIVATE_JOIN_IMPL(A, B)
#define Q_STATIC_ASSERT(Condition)
#define Q_STATIC_ASSERT_X(Condition, Message)

Macro Definition Documentation

◆ Q_STATIC_ASSERT

#define Q_STATIC_ASSERT ( Condition)
Value:
typedef char Q_STATIC_ASSERT_PRIVATE_JOIN(q_static_assert_result, __LINE__) [(Condition) ? 1 : -1];
#define Q_STATIC_ASSERT_PRIVATE_JOIN(A, B)
Definition qassert.h:133

Definition at line 139 of file qassert.h.

◆ Q_STATIC_ASSERT_PRIVATE_JOIN

#define Q_STATIC_ASSERT_PRIVATE_JOIN ( A,
B )
Value:

Definition at line 133 of file qassert.h.

◆ Q_STATIC_ASSERT_PRIVATE_JOIN_IMPL

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

Definition at line 134 of file qassert.h.

◆ Q_STATIC_ASSERT_X

#define Q_STATIC_ASSERT_X ( Condition,
Message )
Value:
Q_STATIC_ASSERT(Condition)
#define Q_STATIC_ASSERT(Condition)
Definition qassert.h:139

Definition at line 142 of file qassert.h.