🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

friend template declaration

#614
From: Kilitzirakis christos 122
Date: Mon, 14 Dec 1992 09:01
18 lines
736 bytes
Hi,
I want to declare ,in g++ , a friend template function.
How can, if I can, do this ?
for ex. :
template < class T> FTemplate(T &,T &) ;

class Cclass {
....
public:
#declaration  of FTemplate
};

It may seems as a trivial question, but I haven't found the trivial
answer yet,



XXXristos
Technical Details
Message-ID: <1992Dec14.090157.25277@csd.uch.gr>
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!news.forth.gr!csd.uch.gr!kilitzir

Show Full Headers
Complete Article Headers
Newsgroups: gnu.g++.help
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!news.forth.gr!csd.uch.gr!kilitzir
From: kilitzir@csd.uch.gr (Kilitzirakis christos 122)
Subject: friend template declaration
Message-ID: <1992Dec14.090157.25277@csd.uch.gr>
Summary: how a friend template is declared
Keywords: friend,template,help
Organization: Computer Science Department, University of Crete HELLAS
Date: Mon, 14 Dec 1992 09:01:57 GMT
Lines: 20