🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #42204

Re: External template class member functions in g++

#42204
From: Jiangeng Sun
Date: Thu, 28 Dec 1995 00:00
17 lines
1128 bytes
In article <46lq5g$ntn@ucthpx.uct.ac.za> henty@foxbat.sur.uct.ac.za (Henty Waker) writes:

   I'm new to C++ so please excuse me if my questions seem stupid. I'm
   having 2 inconveniences with gcc2.7.0. I'm not sure if they're around
   in other C++ compilers.

   1) Defining member functions for a template class outside  of header file:
      ------------------------------------------------------------------

   I can't seem to define my member functions of a template class outside the
   header/main file. An example is below: Its just to show my problem, its not
   meant to compile. 
   ....


I am having the same puzzle. Is this behaviour gcc specific, or standard?
Technical Details
Message-ID: <JS9SF.95Dec28153943@fnpx19.fnal.gov>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <46lq5g$ntn@ucthpx.uct.ac.za>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,92e48c708b5272eb,start
X-Google-Attributes: gid11318c,public
From: js9sf@fnpx19.fnal.gov (Jiangeng Sun)
Subject: Re: External template class member functions in g++
Date: 1995/12/28
Message-ID: <JS9SF.95Dec28153943@fnpx19.fnal.gov>
X-Deja-AN: 123052126
references: <46lq5g$ntn@ucthpx.uct.ac.za>
organization: FERMILAB, Batavia, IL
newsgroups: gnu.gcc.help