Message-ID: <39190F26.609A37C8@home.com> From: Robin Johnson 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 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 *&)' Code Segment: template struct tNode { tItem data; tNode *right, *left; }; template typedef void tCallBack(tNode* &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)