On Fri, 31 Jan 2020 at 22:09, Allan Sandfeld Jensen <k...@carewolf.com> wrote:
> > > I still have trouble understanding why std::unique_ptr is called like > > > this, whereas I could immediately understand what QScopedPointer does > > > even before reading its documentation. > > > > What would you then name a Qt counterpart of std::unique_ptr, considering > > that QScopedPointer is not such a counterpart? > > QScopedPointer is exactly the counterpart to unique_ptr, the only difference > is the decision not to provide a move constructor and assignment when we > finally were allowed to use C++11, Which makes it not a counterpart. _______________________________________________ Development mailing list Development@qt-project.org https://lists.qt-project.org/listinfo/development