On sábado, 29 de setembro de 2012 19.02.02, Stephen Chu wrote:
> Does mapped() make a copy of myList? Or do I have to make sure it lasts
> until future.isFinished()?

It's a QList. A copy is made.

> Also, is it OK for future to go out of scope? Or do I once again have to
> keep it alive until it's all finished?

Yes, that's fine for it to go out of scope. The execution will continue.

--
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
     Intel Sweden AB - Registration Number: 556189-6027
     Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to