summaryrefslogtreecommitdiffstats
path: root/src/corelib/doc
diff options
context:
space:
mode:
authorFabian Kosmale <fabian.kosmale@qt.io>2020-07-12 11:17:21 +0200
committerFabian Kosmale <fabian.kosmale@qt.io>2020-07-14 17:06:47 +0200
commitca54b741d6edda24773137aacee229db31dd3585 (patch)
tree11625d145a4350e620e0572972ab94710e2d3ef3 /src/corelib/doc
parent8cdaeb26552313e7b9d67fa062a3d9ff597c2e06 (diff)
qtypeinfo: Improve container check
Smart pointers like QSharedPointer<T> do have a value_type, but their equality does not depend on T being comparable. Therefore, instead of simply checking for T::value_type, test for a few other container requirements. This also required to add an additional check for std::optional, as that one has an unconstrained operator== on MSVC. Change-Id: Iefd048f7aa360f4713ecd79f80acd7dae72ee18c Reviewed-by: Ulf Hermann <ulf.hermann@qt.io> Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/corelib/doc')
0 files changed, 0 insertions, 0 deletions