qt-interest@trolltech.com
[Top] [All Lists]

RE: Subclassing [C++ stuff]

Subject: RE: Subclassing [C++ stuff]
From: "Chris Smith"
Date: Fri, 18 Mar 2005 08:44:48 -0000
Till Oliver Knoll wrote:
>
> > I think I have to disagree here. The usage of a d pointer *does*
> > help 
> > with keeping BC, as you can freely add and delete members from it 
> > without affecting the signature of the class, or so I understood
> > from the documents
> 
> Hmmm, I have never heard of such a "Signature of a class" thing. I
> know that methods have a signature (return type, type and number of
> arguments), but never heard of such a thing for a class. Therefore
> you might be right ;)

It's not a 'signature of a class', it's simply that the number and type of
data members determines the size of a class, i.e. how much memory an
instantiated object requires.

Chris


DISCLAIMER: This e-mail from Chris Smith sent on 18/3/2005 contains
proprietary information some or all of which may be legally privileged.
It is intended for qt-interest@xxxxxxxxxxxxxx

If an addressing or transmission error has misdirected this e-mail,
please notify the author by replying to this e-mail.  If you are not the
intended recipient you must not use, disclose, distribute, copy, print,
or rely on this e-mail.

TFB PLC
Registered in England: 2412721
1 & 2 Kingdom Close
Kingdom Business Park
Segensworth East
Fareham
Hampshire
PO15 5TJ
http://www.tfbplc.co.uk

Tel : 01489 609000
Fax : 01489 609999
Email: enquiries@xxxxxxxxxxxx

Head Office: Fareham, England  
Regional Offices: Bury, England - Bellshill, Scotland - Belfast -
Auckland, New Zealand Associated Offices : Dublin & Cork, Republic of
Ireland


This e-mail is intended solely for the addressee, is strictly confidential and 
may also be legally privileged. If you are not the addressee please do not 
read, print, re-transmit, store or act in reliance on it or any attachments. 
Instead, please e-mail it back to the sender and then immediately permanently 
delete it

--
List archive and information: http://lists.trolltech.com/qt-interest/

<Prev in Thread] Current Thread [Next in Thread>
  • RE: Subclassing [C++ stuff], Chris Smith <=