This is the mail archive of the gcc-help@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: Templates


Eduardo Cesar Cabrera Flores <eccf at super dot unam dot mx> writes:

> How to compile multiples files source code with templates classes and
> functions in a makefile?

When you  use templates,  gcc needs to  have all  the template-related
code in the .h file. 

-- 
Matthieu


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