🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++.help
Article #570

Re: Where do templates go?

#570
From: Brendan Kehoe
Date: Mon, 16 Nov 1992 05:11
17 lines
1466 bytes
In article <1992Nov13.185422.28026@muddcs.claremont.edu> jason@jarthur.claremont.edu (Jason Merrill) writes:

   #pragma interface and implementation have no effect on template-generated
   functions.  This seems very wrong to me, as these pragmas are the only way
   to avoid multiply-defined code in g++.  How are you supposed to make
   reasonable use of templates if this is the case?

This is a known bug, and will be fixed in a future release (possibly
2.3.3 or 2.4).  This was only discovered very recently; I'm surprised
we never got a bug report on it.

Thanks,
Brendan
--
Brendan Kehoe                                               brendan@cygnus.com
Cygnus Support, Mountain View, CA                              +1 415 903 1400
                                                             His name's Avery!
Technical Details
Message-ID: <38897@hoptoad.uucp>
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!sdd.hp.com!decwrl!pacbell.com!hoptoad!brendan
References: <DECHC00.92Nov13122503@tohi.DMI.USherb.Ca> <1992Nov13.185422.28026@muddcs.claremont.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!sdd.hp.com!decwrl!pacbell.com!hoptoad!brendan
From: brendan@cygnus.com (Brendan Kehoe)
Newsgroups: gnu.g++.help,comp.lang.c++
Subject: Re: Where do templates go?
Message-ID: <38897@hoptoad.uucp>
Date: 16 Nov 92 05:11:05 GMT
References: <DECHC00.92Nov13122503@tohi.DMI.USherb.Ca>
 <1992Nov13.185422.28026@muddcs.claremont.edu>
Sender: news@hoptoad.uucp
Reply-To: brendan@cygnus.com (Brendan Kehoe)
Organization: Cygnus Support, Mountain View, CA
Lines: 17
Nntp-Posting-Host: cygnus.com
In-reply-to: jason@jarthur.claremont.edu's message of Fri, 13 Nov 1992 18:54:22 GMT