[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: c++ question: code duplication across classes
From:       Thiago Macieira <thiago () kde ! org>
Date:       2006-09-20 9:55:16
Message-ID: 200609201155.16886.thiago () kde ! org
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


Benoit Jacob wrote:
>> No, you would have at most one vtable per DSO. Moreover, the ABI used
>> by latest g++s also mandates that the vtable is shared across DSOs

True, but the copy would still be there and loaded into memory, even if 
not used.

>erm, could you please tell me what is a DSO? I saw it stands for Dynamic
>Shared Object, but I don't understand what that is.

Each library, module or the application binary constitutes a unit that can 
have the vtable and all the virtual functions. ("can", not "will")

-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

[Attachment #5 (application/pgp-signature)]

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic