cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1998/02/06/07:33:02

From: Gruber Gerhard <g DOT gruber AT sis DOT co DOT at>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: problem with list class
Date: Fri, 06 Feb 1998 14:11:46 +0100
Organization: APAnet
Lines: 20
Message-ID: <34DB0C12.923FFFC9@sis.co.at>
References: <34D1ADCD DOT 5CBB9988 AT sis DOT co DOT at> <u6GuKIoL9GA DOT 365 AT upnetnews02 DOT moswest DOT msn DOT net>
NNTP-Posting-Host: 192.56.14.75
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

DeHackEd wrote:

> My best guess would be that you have forgetting about templates. lang/cxx/list.h
> defines the list class as a template, and you should either a) specify a type
> for the template, or b) make your code use templates that matches up for the
> list class.

The problem is, that I thought that I can use templates like classes
that get specified as soon as I derive a "real" class from it. 
This makes templates not as attractive as I thought first, because how
will I access template functions within a class when I have to define
the template funcitonality outside of it?
-- 

Bye,
   Gerhard

email: gruber2 AT ibm DOT net
       g DOT gruber AT sis DOT co DOT at
FIDO:  Gruber_Gerhard AT 2:310/81.11

- Raw text -


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