Re: C++ operators in gcc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux