home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- Path: sparky!uunet!haven.umd.edu!darwin.sura.net!zaphod.mps.ohio-state.edu!moe.ksu.ksu.edu!ux1.cso.uiuc.edu!mp.cs.niu.edu!uxa.ecn.bgu.edu!garrot.DMI.USherb.CA!garrot!dechc00
- From: dechc00@tohi.DMI.USherb.Ca (CHRISTIAN DECHAMPLAIN)
- Subject: where do templates go?
- Message-ID: <DECHC00.92Nov9082600@tohi.DMI.USherb.Ca>
- Lines: 18
- Sender: usenet@DMI.USherb.CA (Pour courrier Usenet)
- Nntp-Posting-Host: tohi
- Organization: Universite de Sherbrooke -- departement de Mathematiques et
- d'Informatique
- Date: Mon, 9 Nov 1992 13:26:03 GMT
-
-
- I'm using g++. Suppose I'm using many compilation modules. Where do the
- templates go? In the files with the declarations, in the files with the
- definitions or just everywhere? G++ does not seem to put them anywhere!
- The ARM talks about a way to tell the compiler where you want them to be put,
- where you want your templates to be expanded. How do you do that with g++
- specificaly. I've searched for command line options and I've tried the
- definition and implementation pragmas but with no success. I've even once
- managed to have some templates functions in my .o files but the linker still
- complained that they weren't there. Now I think that templates don't realy
- work with g++ v2.3.1.
-
- Thanks a lot for your help.
- --
- Christian Dechamplain|
- (819) 563-8951 |
- dechc00@dmi.usherb.ca|
- ----------------------
-