www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/09/26/13:35:11

Message-ID: <000401bde974$3e756100$44f703cc@enterprise-z>
From: "Jorge Ivan Meza Martinez" <jimeza AT usa DOT net>
To: <djgpp AT delorie DOT com>
Subject: problems with template
Date: Sat, 26 Sep 1998 02:41:37 -0500
MIME-Version: 1.0

Hi,

I am having "problems" using template;
I am creating my own List Class and works fine, now I am trying to use
template with it.
Works fine too but only with all the code in the .h file, only inline the
code works, if I split it into the header and the code files all stop of
work, the linker says that he doesn't know anything related
myClass<any_type>.

What am I missing ?
can not I split it into .cc and .h ?  does it need something special ?

thanks for you help,

       Jorge Ivan Meza Martinez
               jimeza AT usa DOT net
   jimezam AT armenia DOT multi DOT net DOT co
            jimeza.home.ml.org


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019