about kde4's smart pointer

Adriaan de Groot groot at kde.org
Tue Oct 3 15:08:57 BST 2006

On Tuesday 03 October 2006 15:58, Cyrille Berger wrote:
> KisPaintDeviceSP pd = KisPaintDeviceSP(new KisPaintDevice());
> instead of
> KisPaintDeviceSP pd = new KisPaintDevice();

DOes this have anything to do with explicit constructor checks? They may have 
gotten in the way here.

Adriaan de Groot
  KDE Quality Team

More information about the kde-core-devel mailing list