delorie.com/archives/browse.cgi | search |
Message-ID: | <39190F26.609A37C8@home.com> |
From: | Robin Johnson <robbat2 AT home DOT com> |
Organization: | Orbit Computers |
X-Mailer: | Mozilla 4.7 [en] (Win98; U) |
X-Accept-Language: | en,af,es |
MIME-Version: | 1.0 |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | template error |
Lines: | 24 |
Date: | Wed, 10 May 2000 07:26:20 GMT |
NNTP-Posting-Host: | 24.113.36.103 |
X-Complaints-To: | abuse AT home DOT net |
X-Trace: | news1.rdc1.bc.home.com 957943580 24.113.36.103 (Wed, 10 May 2000 00:26:20 PDT) |
NNTP-Posting-Date: | Wed, 10 May 2000 00:26:20 PDT |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
I am getting an error that I am at a complete loss to explain... The g++ FAQ mentions nothing like it, so I thought I'd ask just to be sure... Error: template declaration of `typedef void ( tCallBack)(struct tNode<tItem> *&)' Code Segment: template <class tItem> struct tNode { tItem data; tNode *right, *left; }; template <class tItem> typedef void tCallBack(tNode<tItem>* &node); //error here --- Robin Hugh Johnson "Robbat2" QTOD: "I used to be an idealist, but I got mugged by reality." E-Mail : robbat2 AT orbis-terrarum DOT net ICQ# : 30269588 or 41961639 Home Page : http://www.orbis-terrarum.net Time Zone : Pacific Daylight (GMT - 8)
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |