[Development] implicit sharing and iterators in qt containers

Thiago Macieira thiago.macieira at intel.com
Mon Jul 31 22:55:07 CEST 2017


On segunda-feira, 31 de julho de 2017 13:36:49 PDT Mandeep Sandhu wrote:
> > Maybe. I don't know how many would use it and whether it's worth spending
> > our
> > development time on it, though.
> 
> It might be useful to a lazy programmer though, who doesn't want to
> implement it on his/her own :)
> It's not really a fundamental container itself, but rather uses a QHash &
> QLinkedList to do the job. So it's not something that people can't

The fact that you're using QHash makes it uninteresting.

I'd expect to be able to use keys that do not define qHash or qLess.

Search would be O(n). So be it.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Development mailing list