qt5base-lts/tests/auto/corelib/kernel
Lars Knoll 16bc995fd1 Add type traits to safely determine the existence of comparison operators
Containers often define an operator==() or operator<() which is very useful
for generic code. But those operators can usually not be instantiated if
the template argument doesn't implement the operator.

This sometimes leads to the compiler trying all possible template expansions
and implicit conversions for the type, giving extremely long error
messages. The traits support can be used to safely constrain those
operators.

Being able to safely detect this will also allow us to fold the comparison
support that is currently a large cludge for user types directly into
QMetaType.

Change-Id: Ib84afb5348c3eb0be5161d6ba9d5fe237709c65f
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2020-07-08 14:13:55 +02:00
..
qcoreapplication Remove winrt 2020-06-06 20:25:49 +02:00
qdeadlinetimer Merge remote-tracking branch 'origin/5.15' into dev 2020-03-04 14:39:18 +00:00
qelapsedtimer Merge remote-tracking branch 'origin/5.15' into dev 2020-03-16 18:41:27 +01:00
qeventdispatcher Detect double timer during single timeout in registerTimer test, and skip 2020-02-22 02:52:36 +01:00
qeventloop Remove winrt 2020-06-06 20:25:49 +02:00
qmath Regenerate tests/auto/corelib/kernel 2019-11-12 17:25:04 +00:00
qmetaenum Port Q_STATIC_ASSERT(_X) to static_assert 2020-06-19 19:38:23 +02:00
qmetamethod Use QList instead of QVector in corelib tests 2020-07-07 11:48:45 +02:00
qmetaobject Use QList instead of QVector in corelib tests 2020-07-07 11:48:45 +02:00
qmetaobjectbuilder Avoid use of Q_UNUSED by eliminating the parameter names 2020-07-03 21:10:09 +02:00
qmetaproperty Fix assigning int QFlag-type properties 2020-04-22 09:49:48 +02:00
qmetatype Add type traits to safely determine the existence of comparison operators 2020-07-08 14:13:55 +02:00
qmimedata Regenerate tests/auto/corelib/kernel 2019-11-12 17:25:04 +00:00
qobject Avoid use of Q_UNUSED by eliminating the parameter names 2020-07-03 21:10:09 +02:00
qpointer Regenerate tests/auto/corelib/kernel 2019-11-12 17:25:04 +00:00
qproperty Use QList instead of QVector in corelib tests 2020-07-07 11:48:45 +02:00
qsharedmemory Remove winrt 2020-06-06 20:25:49 +02:00
qsignalblocker Regenerate tests/auto/corelib/kernel 2019-11-12 17:25:04 +00:00
qsignalmapper Merge remote-tracking branch 'origin/5.15' into dev 2020-02-13 18:31:40 +01:00
qsocketnotifier Remove winrt 2020-06-06 20:25:49 +02:00
qsystemsemaphore Use QList instead of QVector in corelib tests 2020-07-07 11:48:45 +02:00
qtimer Use QList instead of QVector in corelib tests 2020-07-07 11:48:45 +02:00
qtranslator Remove winrt 2020-06-06 20:25:49 +02:00
qvariant Use QList instead of QVector in corelib tests 2020-07-07 11:48:45 +02:00
qwineventnotifier Use QList instead of QVector in corelib tests 2020-07-07 11:48:45 +02:00
.prev_CMakeLists.txt Remove winrt 2020-06-06 20:25:49 +02:00
CMakeLists.txt Remove winrt 2020-06-06 20:25:49 +02:00
kernel.pro Remove winrt 2020-06-06 20:25:49 +02:00