🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: hepnet.lang.c++
Article #14

Re: How to construct class member - template object using non-default constructor ?

#14
From: Zijian Huang
Date: Tue, 27 Dec 1994 01:04
18 lines
1583 bytes
In article <NEWTNews.10770.786299039.bob@koba.elementrix.co.il>, bob@elementrix.co.il says:
>

>Please e-mail me.
>Thanks, beforehand.
>Bob.
>
Answer:
  I am not sure what is the meaning--'put them all in the same header file...'
Usually, in C++, you should put or include the implementation code for
the template class into the 'same' header file. That is the way you should
do in BC, though some C++ compiler can handle something like 'temp.h' and
'temp.c' and then produce 'temp.o'.

Zijian Huang
Computing Science Dept
University of Newcastle upon Tyne
Zijian.Huang@ncl.ac.uk
Technical Details
Message-ID: <3dnp6f$eoc@whitbeck.ncl.ac.uk>
Path: arc1-ca.pugleaf.net!nntp.gmd.de!Germany.EU.net!howland.reston.ans.net!pipex!lyra.csx.cam.ac.uk!warwick!news.ncl.ac.uk!usenet
References: <NEWTNews.10770.786299039.bob@koba.elementrix.co.il>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 109fba,9c20094be12f3207
X-Google-Attributes: gid109fba,public
X-Google-Thread: 10b7bb,9c20094be12f3207
X-Google-Attributes: gid10b7bb,public
X-Google-Thread: fffda,9c20094be12f3207
X-Google-Attributes: gidfffda,public
X-Google-Thread: f78e5,9c20094be12f3207
X-Google-Attributes: gidf78e5,public
X-Google-ArrivalTime: 1994-12-26 17:22:04 PST
Path: arc1-ca.pugleaf.net!nntp.gmd.de!Germany.EU.net!howland.reston.ans.net!pipex!lyra.csx.cam.ac.uk!warwick!news.ncl.ac.uk!usenet
From: Zijian Huang <Zijian.Huang@ncl.ac.uk>
Newsgroups: hepnet.lang.c++,ctdl.lang.c++,comp.std.c++,comp.lang.c++
Subject: Re: How to construct class member - template object using non-default constructor ?
Date: 27 Dec 1994 01:04:15 GMT
Organization: Newcastle University
Lines: 18
Message-ID: <3dnp6f$eoc@whitbeck.ncl.ac.uk>
References: <NEWTNews.10770.786299039.bob@koba.elementrix.co.il>
NNTP-Posting-Host: tarn06.ncl.ac.uk
X-Newsreader: WinVN 0.92.5