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: why are stl template classes not mangled as other classes andtemplates


On Tuesday 27 November 2007 15:50, Andreas Schwab wrote:
> Stephane Hockenhull <shockenhull@niceberg.com> writes:
> > now, if only someone actually knew where in the g++ source code the
> > special case for std::string is
>
> grep is your friend.  Look for find_substitution in cp/mangle.c.
>
> Andreas.

something just occured to me ... the std::string template is not compiled into 
the .s file

are those templates pre-compiled into some "magical" hidden library?
I could not find them in my gcc installations both native and i386-unknown-elf

grep 'ZNSs7replaceEmmRKSs' * -R

didnt find anything (compressed?).

where is that template instanciated ?

-- 
Stephane Hockenhull
SSC-Studios.com


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