qt5base-lts/tests/auto/corelib/kernel
Lars Knoll fc85a6b6b9 QTypeInfo: use C++11 type traits to deduce if a type is static or complex
All types that can be trivially copied and destructed are by definition
relocatable, and we should apply those semantics when moving them in
memory.

Types that are trivial, are by definition not complex and should be
treated as such.

[ChangeLog][QtCore] Qt Containers and meta type system now use C++11
type traits (std::is_trivial, std::is_trivially_copyable and
std::is_trivially_destructible) to detect the class of a type not
explicitly set by Q_DECLARE_TYPEINFO. (Q_DECLARE_TYPEINFO is still
needed for QList.)

Done-with: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
Change-Id: Iebb87ece425ea919e86169d06cd509c54a074282
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2018-12-10 08:13:58 +00:00
..
qcoreapplication Modernize the "thread" feature 2018-08-17 00:34:36 +00:00
qdeadlinetimer Increase the resolution for QDeadlineTimer unit test 2016-10-26 03:16:26 +00:00
qelapsedtimer Extend blacklisting of tst_QElapsedTimer::elapsed to cover macOS 10.13 2018-07-31 05:02:30 +00:00
qeventdispatcher tests: Distinguish tst_qeventdispatcher and tst_qguieventdispatcher 2018-11-16 14:16:09 +00:00
qeventloop tst_QEventLoop: Remove unconditional qWait() 2018-04-10 08:32:21 +00:00
qmath Be (somewhat more) consistent about the value of pi 2017-06-20 09:53:46 +00:00
qmetaenum QMetaEnum: fix UB 2018-10-17 08:48:13 +00:00
qmetamethod Replace Q_NULLPTR with nullptr where possible 2017-09-19 11:53:55 +00:00
qmetaobject Add debug output for single enum flags 2018-08-11 20:09:55 +00:00
qmetaobjectbuilder Fix QMetaObject naming of class enum flag 2018-08-11 07:59:15 +00:00
qmetaproperty
qmetatype QTypeInfo: use C++11 type traits to deduce if a type is static or complex 2018-12-10 08:13:58 +00:00
qmimedata
qobject Merge remote-tracking branch 'origin/5.12' into dev 2018-12-04 09:58:43 +01:00
qpointer Merge remote-tracking branch 'origin/5.6' into 5.7 2016-04-04 08:59:18 +02:00
qsharedmemory tst_qsharedmemory: Use qt_test_helper functionality 2018-07-31 05:26:59 +00:00
qsignalblocker
qsignalmapper
qsocketnotifier winrt: Fix tst_QSocketNotifier::asyncMultipleDatagram 2017-05-11 06:37:36 +00:00
qsystemsemaphore tst_qsystemsemaphore: Use qt_test_helper functionality 2018-07-31 05:27:08 +00:00
qtimer Rename QTimer::connectTo() to QTimer::callOnTimeout() 2018-09-03 08:43:39 +00:00
qtranslator Allow loading of empty translation files 2018-07-12 08:54:33 +00:00
qvariant Treat shorts as int in QVariant::canConvert() 2018-11-01 17:31:13 +00:00
qwineventnotifier Merge remote-tracking branch 'origin/5.11' into dev 2018-03-28 08:12:21 +02:00
kernel.pro Make tests compile for Android 2018-06-25 08:01:19 +00:00