qt5base-lts/tests/auto/corelib/kernel/qobject
Thiago Macieira 5a1b4832a2 Adapt to the C++ SIC introduced by P0021: noexcept overloading
C++17 adopts P0021R1[1], which makes noexcept be part of the function
pointer's type and thus be overloadable. It contains some provisions for
allowing a noexcept function pointer to cast implicitly to a non-
noexcept function pointer, but that fails in the presence of templates
and additional overloads that could match the type in question.

Fortunately, the paper proposed a test macro, so we can change our
sources now and be compatible with both C++14 and C++17 rules.

This first failed with Clang 4.0 trunk. This source incompatibility is
not our fault, it's the language's doing.

[1] http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/p0012r1.html

Task-number: QTBUG-58054
Change-Id: I2bc52f3c7a574209b213fffd14988cf0b875be63
Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
2017-01-14 03:24:30 +00:00
..
signalbug QtCore: Remove Windows CE. 2016-03-30 11:22:47 +00:00
test Adapt to the C++ SIC introduced by P0021: noexcept overloading 2017-01-14 03:24:30 +00:00
.gitignore QObject-test: Reorganize subprocess. 2011-12-14 07:07:09 +01:00
BLACKLIST Blacklist and skip various tests that are flakey 2015-06-14 10:50:45 +00:00
qobject.pro Fix compilation for WinRT 2015-12-14 08:43:15 +00:00
tst_qobject.cpp Adapt to the C++ SIC introduced by P0021: noexcept overloading 2017-01-14 03:24:30 +00:00