🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #49708

external-templates ? How?

#49708
From: Hope Ehn Dennis Ehn
Date: Thu, 30 Dec 1993 03:12
18 lines
1313 bytes
This may be a frequently given answer, but I have not found the magic
incantation which will allow me to separately compile template class
instantions with externally linked member functions.  I am using version
2.5.7 in the DJGPP distribution.  I would like to avoid the space overhead
of having multiple static copies.  I have tried using the
external-templates option and the pragma interface, pragma implementation. 
But I have not gotten it right.  Is there a way? 

I will be grateful for any pointers.

Dennis Ehn
ehn@world.std.com

-- 
*****************************************************************************
Dennis and Hope Ehn are 2 different people sharing one account.
Hope does early music, shortwave radio, and Mendele.
Dennis does programming (mostly C++).
Technical Details
Message-ID: <CItvK2.GDB@world.std.com>
Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!howland.reston.ans.net!europa.eng.gtefsd.com!uunet!world!ehn

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,e39752f729d2f6e2,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1993-12-29 19:13:19 PST
Newsgroups: gnu.gcc.help
Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!howland.reston.ans.net!europa.eng.gtefsd.com!uunet!world!ehn
From: ehn@world.std.com (Hope Ehn Dennis Ehn)
Subject: external-templates ?  How?
Message-ID: <CItvK2.GDB@world.std.com>
Organization: The World Public Access UNIX, Brookline, MA
Date: Thu, 30 Dec 1993 03:12:01 GMT
Lines: 18