On 28 November 2007 17:33, Stephane Hockenhull wrote:

> 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 ?

  The instantiations end up in the .o files of your project when you compile,
not in the compiler or its support libraries.  Does this page:

http://gcc.gnu.org/onlinedocs/gcc/Template-Instantiation.html#Template-Instant
iation

answer the question for you?


    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....

Reply via email to