(97f3d41fa15a1dcaa17993436b9385ebd0fd274b)
#include <QtCore/qcompilerdetection.h>
#include <QtCore/qcontainerfwd.h>
#include <type_traits>
Go to the source code of this file.
◆ Q_DECLARE_MOVABLE_CONTAINER
#define Q_DECLARE_MOVABLE_CONTAINER |
( |
| CONTAINER | ) |
|
Value:template <typename ...T> \
{ \
public: \
enum { \
isPointer [[deprecated("Use std::is_pointer instead")]] = false, \
isIntegral [[deprecated("Use std::is_integral instead")]] = false, \
isComplex = true, \
isRelocatable = true, \
isValueInitializationBitwiseZero = false, \
}; \
}
Definition at line 130 of file qtypeinfo.h.
◆ Q_DECLARE_TYPEINFO
◆ Q_DECLARE_TYPEINFO_BODY
#define Q_DECLARE_TYPEINFO_BODY |
( |
| TYPE, |
|
|
| FLAGS ) |
Value:
{ \
public: \
enum { \
isPointer [[deprecated("Use std::is_pointer instead")]] = std::is_pointer_v< TYPE >, \
isIntegral [[deprecated("Use std::is_integral instead")]] = std::is_integral< TYPE >::value, \
}; \
std::is_copy_constructible_v<TYPE > || \
std::is_move_constructible_v<TYPE >, \
#
TYPE " is neither copy- nor move-constructible, so cannot be Q_RELOCATABLE_TYPE"); \
}
constexpr bool qIsRelocatable
constexpr bool qIsValueInitializationBitwiseZero
constexpr bool qIsComplex
Definition at line 172 of file qtypeinfo.h.
◆ anonymous enum
Enumerator |
---|
Q_COMPLEX_TYPE | |
Q_PRIMITIVE_TYPE | |
Q_RELOCATABLE_TYPE | |
Q_MOVABLE_TYPE | |
Q_DUMMY_TYPE | |
Definition at line 164 of file qtypeinfo.h.
◆ Q_DECLARE_MOVABLE_CONTAINER() [1/9]
Q_DECLARE_MOVABLE_CONTAINER |
( |
QCache | | ) |
|
◆ Q_DECLARE_MOVABLE_CONTAINER() [2/9]
Q_DECLARE_MOVABLE_CONTAINER |
( |
QHash | | ) |
|
◆ Q_DECLARE_MOVABLE_CONTAINER() [3/9]
Q_DECLARE_MOVABLE_CONTAINER |
( |
QList | | ) |
|
◆ Q_DECLARE_MOVABLE_CONTAINER() [4/9]
Q_DECLARE_MOVABLE_CONTAINER |
( |
QMap | | ) |
|
◆ Q_DECLARE_MOVABLE_CONTAINER() [5/9]
◆ Q_DECLARE_MOVABLE_CONTAINER() [6/9]
◆ Q_DECLARE_MOVABLE_CONTAINER() [7/9]
Q_DECLARE_MOVABLE_CONTAINER |
( |
QQueue | | ) |
|
◆ Q_DECLARE_MOVABLE_CONTAINER() [8/9]
Q_DECLARE_MOVABLE_CONTAINER |
( |
QSet | | ) |
|
◆ Q_DECLARE_MOVABLE_CONTAINER() [9/9]
Q_DECLARE_MOVABLE_CONTAINER |
( |
QStack | | ) |
|
◆ Q_DECLARE_TYPEINFO_BODY()