qt5base-lts/tests/auto/corelib
Milian Wolff 014d7ac654 Q{Shared,Weak}Pointer: Reduce overload sets in implicit conversions
Only allow implicit conversions when the types involved are compatible.
That means, only allow construction and copy assignment when the type
X* is convertible to type T*. This is done using SFINAE and the
std::is_convertible type trait, which makes the previous
QSHAREDPOINTER_VERIFY_AUTO_CAST obsolete.

This patch fixes compilation when a function is overloaded with
Q{Shared,Weak}Pointer of different, incompatible types. Previously, this
resulted in a compilation error due to an ambiguous overload.

Change-Id: I069d22f3582e69842f14284d4f27827326597ca2
Fixes: QTBUG-75222
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2019-10-11 16:53:23 +02:00
..
animation Report correct state change when destroying QAbstractAnimation 2019-06-20 12:46:30 +02:00
codecs Add tests for decoding too-short UTF-8 sequences 2018-09-25 22:14:07 +00:00
global Fix QRandomGenerator initialization on AMD CPUs 2019-09-26 19:52:50 +03:00
io Merge remote-tracking branch 'origin/5.12' into 5.13 2019-07-13 01:00:21 +02:00
itemmodels Merge remote-tracking branch 'origin/5.12' into 5.13 2019-03-26 08:27:02 +01:00
kernel Merge remote-tracking branch 'origin/5.12' into 5.13 2019-05-09 13:06:11 +00:00
mimetypes QMimeDatabase: update freedesktop.org.xml to shared-mime-info 1.10 2018-11-13 11:16:11 +00:00
plugin QPluginLoader: fix failing test comparing the Qt version 2019-07-03 05:59:16 -03:00
serialization Merge remote-tracking branch 'origin/5.12' into 5.13 2019-07-20 01:00:13 +02:00
statemachine tst_QStateMachine: Don't use unconditional waits 2018-04-04 07:07:40 +00:00
thread Add cmdline feature to qmake 2019-02-18 07:12:14 +00:00
tools Q{Shared,Weak}Pointer: Reduce overload sets in implicit conversions 2019-10-11 16:53:23 +02:00
corelib.pro Create corelib/serialization and move existing file formats into it 2018-01-26 20:59:50 +00:00