Pimpl copying

Thiago Macieira thiago at kde.org
Sun Jul 16 01:57:21 BST 2006


André Wöbbeking wrote:
>> The fact that KFoo::Private is exported with KFoo if KFoo has the
>> KDE_EXPORT macro.
>
>Well, KFoo::KFooPrivate would be also exported then :)
>
>> Anyway, this information need to be verified.
>
>Yeah, I don't know if a forward declaration is exported.

I was the one that raised that issue and IIRC, the visibility tag isn't 
inherited for forward declarations.

class __attribute__(...) Name
{
...
};

But I'd say it's a thin line and the g++ folks could change that at any 
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: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20060716/2c8fa491/attachment.sig>


More information about the kde-core-devel mailing list