From: dontmailme AT iname DOT com (Steamer) Newsgroups: comp.os.msdos.djgpp Subject: Re: VIRTUAL TEMPLATE FUNCTIONS POSSIBLE??? Date: Fri, 26 Jan 2001 11:07:32 GMT Organization: always disorganized Lines: 15 Message-ID: <3a715a63.7238393@news.freeserve.net> References: <94ri29$4qi$1 AT tron DOT sci DOT fi> NNTP-Posting-Host: modem-38.coris-wrasse.dialup.pol.co.uk X-Trace: newsg2.svr.pol.co.uk 980507253 2741 62.136.253.38 (26 Jan 2001 11:07:33 GMT) NNTP-Posting-Date: 26 Jan 2001 11:07:33 GMT X-Complaints-To: abuse AT theplanet DOT net X-Newsreader: Forte Free Agent 1.11/32.235 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Traveler wrote: > Is it possible somehow get something like this: > > class A > { > public: > virtual template T getData(void); > }; No. A member function template cannot be virtual. If you explain why you think you need this, someone may be able to suggest an alternative. You will probably get better answers if you post on comp.lang.c++.