[Development] implicit sharing and iterators in qt containers
Matthew Woehlke
mwoehlke.floss at gmail.com
Mon Jul 31 23:58:21 CEST 2017
On 2017-07-31 17:36, Mandeep Sandhu wrote:
>> I'd expect to be able to use keys that do not define qHash or qLess.
>
> Why?
Why not?
>> Search would be O(n). So be it.
>
> Well it wouldn't be much of a "map" then, would it?
It's still a key-value store in which items are retrieved by key, which
is sort of the definition of a "map". It just has inefficient look-up.
--
Matthew
More information about the Development
mailing list