delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/09/08/16:30:54

From: "Rafał Maj" <r_maj AT poczta DOT onet DOT pl>
Newsgroups: comp.os.msdos.djgpp
Subject: Templates and virtual ?
Date: Fri, 8 Sep 2000 22:16:19 +0200
Organization: Academic Computer Center CYFRONET AGH
Lines: 12
Message-ID: <8pbhg9$8a3$2@info.cyf-kr.edu.pl>
NNTP-Posting-Host: d-94-53-16.cyfronet.krakow.pl
X-Trace: info.cyf-kr.edu.pl 968444233 8515 149.156.1.176 (8 Sep 2000 20:17:13 GMT)
X-Complaints-To: news AT cyf-kr DOT edu DOT pl
NNTP-Posting-Date: 8 Sep 2000 20:17:13 GMT
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2615.200
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hi,
why I cann't use virtual with templates, like this :

class test { public :
  template <class typ>
  virtual void fun(typ var) {  }
};

thanks,
Rafal


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019