home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!pipex!warwick!bham!pickerig
- From: pickerig@eee.bham.ac.uk (Guy Pickering)
- Newsgroups: comp.lang.c++
- Subject: Template Use <sigh>
- Date: 21 Jan 1993 17:10:11 GMT
- Organization: The University of Birmingham, England
- Lines: 33
- Message-ID: <1jmldjINN6u3@rs6000.bham.ac.uk>
- NNTP-Posting-Host: annapurna.eee.bham.ac.uk
- X-Newsreader: TIN [version 1.1 PL6]
-
- I imagine this an FAQ, so please excuse my ignorance (anyone know where
- to get an FAQ list?).
-
- I am starting to use templates (AT&T V3.01), I define the templates in
- a separate directory to my main source code. I keep getting the following
- warnings and errors:
-
- CC[ptlink] warning: template definition file LookupTable.C not found
- .
- .
- .
- CC[ptlink]: unresolveable template symbols are:
- LookupTable<unsigned char>::~LookupTable<unsigned char>(void)
- CC[ptlink] fatal error: template symbols cannot be resolved
-
- I do not have a full understanding of how template code is created. I
- assume it is not the same as the usual compile-link phases for C/C++ code.
-
- Could someone enlighten me as to a) What my problem is, as described
- above, and b) How the template thing works?
-
- Many thanks in advance,
-
- Guy.
-
- --
- +--------------------------------+-----------------------------------------+
- | Guy Pickering | School of Electronic & Electrical Eng, |
- | E-MAIL: G.PICKERING@uk.ac.bham | University of Birmingham, |
- | Tel: (021) 414 4340 | Edgbaston, Birmingham. B15 2TT. |
- +--------------------------------+-----------------------------------------+
-
-
-