On segunda-feira, 19 de setembro de 2016 18:35:43 PDT Etienne Sandré-
Chardonnal wrote:
> Yes, but for instance you can't move-pass an object between signals and
> slots across a queued connection, unless I'm wrong. You have to make your
> object implicitely shared. This causes lots of copies when passing a
> std::vector, for instance.

Correct. You may have more than one slot connected to the same signal, so move 
semantics don't make sense to signal-slot connections: if we moved to the first 
destination, then the second would receive a moved-from object.

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

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

Reply via email to