[Development] implicit sharing and iterators in qt containers
Kevin Kofler
kevin.kofler at chello.at
Mon Jul 31 11:01:41 CEST 2017
Mandeep Sandhu wrote:
> However, due to the issue with implicit sharing & iterators, it's not
> possible for a trivial assignment operator & copy c'tor. Is there any way
> around it other than making a item-by-item copy of the linked list?
Your OrderedMap should itself be implicitly shared and clone the linked list
on detach.
Kevin Kofler
More information about the Development
mailing list