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

(f801220aca24fecc80f3aa9b37d763060155ffe3)

#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:114

Definition at line 120 of file qassert.h.

◆ Q_STATIC_ASSERT_PRIVATE_JOIN

#define Q_STATIC_ASSERT_PRIVATE_JOIN ( A,
B )
Value:

Definition at line 114 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 115 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:120

Definition at line 123 of file qassert.h.