summaryrefslogtreecommitdiffstats
path: root/src/corelib/serialization/qjsonarray.cpp
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2024-02-02 17:55:03 -0800
committerThiago Macieira <thiago.macieira@intel.com>2024-03-12 17:23:06 -0800
commitb53c153a10261eb851385f4aa0afb663797fdeb9 (patch)
treed20d1104cdb0d586520037e7cddc4a5cb0303452 /src/corelib/serialization/qjsonarray.cpp
parent52abff8cc1741412c3fa2c9f6d5185cf48f9ef13 (diff)
QHash: add support for heterogeneous key lookups
This implements support in QHash and QMultiHash for lookups of heterogeneous key types that produce the same hash value. This is implemented by duplicating each of the following functions into an overload on Key and one a template that is enable_if-constrained to a key type that meets the requirement: * contains * count * equals_range * find * operator[] (const only) * remove * take * value * values (QMultiHash) The non-const operator[] may insert into the hash, so it's not part of this commit. Change-Id: I664b9f014ffc48cbb49bfffd17b037852f0fd192 Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'src/corelib/serialization/qjsonarray.cpp')
0 files changed, 0 insertions, 0 deletions