Article View: alt.linux
Article #1091Re: Templates
From: Alexander Dymerets
Date: Thu, 08 Apr 1999 00:00
Date: Thu, 08 Apr 1999 00:00
9 lines
1699 bytes
1699 bytes
Hi! > I'm trying to design template classes in C++ (under Linux and Solaris) using > the gcc compiler, but I'm running into trouble. It seems that the template > functions must be written > within the header (.h) file. Whenever they are written in the .cpp file I > get errors about them not being there. All functions in template classes must be inline. Alexander
Technical Details
Message-ID:
<370C598E.C8C64F66@te.net.ua>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<ShVO2.260$G4.285045@news.abs.net>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f5392,eaa6e2f181a1fe60 X-Google-Attributes: gidf5392,public X-Google-Thread: 10c696,eaa6e2f181a1fe60 X-Google-Attributes: gid10c696,public X-Google-Thread: f8c9b,eaa6e2f181a1fe60 X-Google-Attributes: gidf8c9b,public X-Google-Thread: fc89c,eaa6e2f181a1fe60 X-Google-Attributes: gidfc89c,public X-Google-Thread: 10ba33,eaa6e2f181a1fe60 X-Google-Attributes: gid10ba33,public X-Google-Thread: 109fba,eaa6e2f181a1fe60 X-Google-Attributes: gid109fba,public X-Google-Thread: 100c5f,eaa6e2f181a1fe60 X-Google-Attributes: gid100c5f,public X-Google-Thread: faa64,eaa6e2f181a1fe60 X-Google-Attributes: gidfaa64,public From: Alexander Dymerets <sasha@te.net.ua> Subject: Re: Templates Date: 1999/04/08 Message-ID: <370C598E.C8C64F66@te.net.ua> X-Deja-AN: 463956164 Content-Transfer-Encoding: 7bit References: <ShVO2.260$G4.285045@news.abs.net> X-Accept-Language: ru,en Content-Type: text/plain; charset=us-ascii Organization: man. man, man, è åùå ðàç man. (c) Â.È. Ëåíèí Mime-Version: 1.0 Newsgroups: alt.linux,alt.os.linux,comp.lang.c++,comp.os.linux.development.apps,comp.os.linux.development.system,comp.unix.programmer,comp.unix.questions,gnu.g++.help,gnu.gcc.help