This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: C++ operators in gcc


Does this really make the binary file a bit larger.  I don't think so.  Every 
class you define (or structure with C) is automatically be able to be copied 
(in a flat manner of course) by the operator =.  I think that someone who 
told you meant that behaviour, that is part of the ISO definition as I 
suppose and as such not specific to gcc.
I assume there would be no single byte of code blow up for this behaviour.

BYE INGO

Am Freitag, 23. September 2005 23:48 schrieb Tommy Vercetti:
> Hi list
>
> I was told that gcc by default, for every class creates operator =, and
> probably something else. This makes binary file bit larger than it suppose
> to be. Is it true, and if so, why this is the case ? Can gcc simply not
> generate that operator?
>
> please CC me on replies.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]