From 5a72e519078459d6c1821fc46a467366f7d767fa Mon Sep 17 00:00:00 2001 From: Marc Mutz Date: Fri, 16 Dec 2022 22:34:48 +0100 Subject: [normative] QUIP-6: add exception to B.7 It's SiC A if only the target of the forwarding header changes, but not user source code. We did that for QVariantMap/QVariantHash in Qt 6.4. Change-Id: I7f454305382ebdc6634140e1cb83cfe9cf144382 Reviewed-by: hjk Reviewed-by: Fabian Kosmale Reviewed-by: Volker Hilsheimer --- quip-0006.rst | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/quip-0006.rst b/quip-0006.rst index 89b1327..191a6b0 100644 --- a/quip-0006.rst +++ b/quip-0006.rst @@ -85,7 +85,11 @@ discussed on the mailing-list and then added here. +-------+-+-----------------------------------------------------------+-------+--------+ | B.7 | Moving declarations between headers that don't include each | | X | | | other (see footnote 2). | | | -+-------+-------------------------------------------------------------+-------+--------+ ++-------+-+-----------------------------------------------------------+-------+--------+ +| A.7 | | Exception: when moving classes | X | | +| | | (we promise SC only for use of , | | | +| | | not the qstyleheaders.h) | | | ++-------+-+-----------------------------------------------------------+-------+--------+ ยน On compilers, such as MSVC, that mangle the return type, this is a BiC change if the function is exported. In this case, the const needs to be kept for these -- cgit v1.2.3