Re: about g++ compilation for class constructor/destructor
Thanks for your reply. In oder to reduce ctor/dtor size in object file, maybe I should move most ctor/dtor source to a seperate function. best regards, dragchan
Re: about g++ compilation for class constructor/destructor
drag chan wrote: > my question is why every constructor/destructor of class A have a > couple of same code blocks in the object file? The ABI requires two separate versions of the ctor and dtor, one for when the object being initialized is a base class and one where it's not. Because you used -C