class Private or FooPrivate?

Boudewijn Rempt boud at valdyas.org
Mon Jun 24 07:27:56 BST 2013


On Monday 24 June 2013 Jun 09:22:05 Inge Wallin wrote:
> 
> Yes, that is very clean.  I've seen a number of commits with the comment "fix 
> memory leak" which just added a "delete d" in the destructor. This way would 
> make all that unnecessary.
> 
> Is it portable to Windows and MacOS X too?  And ARM?

It has nothing to do with OS or CPU architecture -- it's a C++11 feature. Practically speaking, it's something we can do after or as part of the port to Qt5, because Qt4 on Windows is only available compiled with MSVC 2010, which doesn't support this feature, as far as I know.

-- 
Boudewijn Rempt
http://www.valdyas.org, http://www.krita.org, http://www.boudewijnrempt.nl




More information about the calligra-devel mailing list