This is the mail archive of the gcc@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: g++3: Static Initializers occur twice in Binary


Frank Mehnert wrote:
in the attached example, the constructor of class A is generated twice.

If you feed the mangled function names through c++filt, you will see that one is an "in-charge" constructor, and the other is a "not-in-charge" constructor.


I don't know what that means though. My 17 year old Stroustrup book isn't a very good C++ reference anymore.
--
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com



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