On Wednesday 20 January 2016 13:17:35 Thiago Macieira wrote: > return s; // move-construction > "steals" buffer } > > QtTools::String<Unsharable> s = foo(); // move-construction attempts to > steal
And in case the consequence isn't clear from the comment: the *stealing* prevents us from using actual std::vector for being the backend of our containers, not without having the double indirection the first part of the email talked about. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center _______________________________________________ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development