[Development] Making QScopedPointer scoped (again)
Milian Wolff
mail at milianw.de
Thu Sep 5 10:22:44 CEST 2013
On Tuesday 03 September 2013 09:33:50 Thiago Macieira wrote:
> On terça-feira, 3 de setembro de 2013 11:47:33, Stephen Kelly wrote:
> > Why not use std::unique_ptr instead in the cases where the patch has an
> > effect?
>
> We cannot. All uses of std::unique_ptr inside Qt are automatic -2.
You cannot use the new QScopedPointer feature either, since it requires C++11
which is also a -2 in Qt atm.
Bye
PS: I for one, am all in favor of removing move semantics from QScopedPointer.
--
Milian Wolff
mail at milianw.de
http://milianw.de
More information about the Development
mailing list