Use of Boost library classes in kdecore?

Thiago Macieira thiago at kde.org
Sun Jul 8 15:45:39 BST 2007


David Jarvie wrote:
>I tested it after adding a virtual function to TimeZone, and it does
> work. The drawback of using this approach is that the private classes
> need to be publicly available in order to derive from them outside
> kdelibs. I suspect that introducing another level of private class
> (i.e. a d-pointer within the "private" classes) might fix this.

No. Keep the private classes private, but in a _p.h file.

*IF* the need arises for this to be available for an application in an 
URGENCY, then it can copy the _p.h file while waiting for the inclusion 
in kdelibs.

It's like my other email: I find it very unlikely that any application 
will need another timezone backend format that:

1) is unsuitable for kdelibs inclusion
or 2) cannot be added to kdelibs in time

-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20070708/28a291b9/attachment.sig>


More information about the kde-core-devel mailing list