Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!sdd.hp.com!mips!atha!aunro!alberta!herald.usask.ca!weyr!John.Montbriand From: John.Montbriand@weyr.FIDONET.ORG (John Montbriand) Newsgroups: comp.lang.c++ Subject: re: How to define a List class Message-ID: <288.28546910@weyr.FIDONET.ORG> Date: 10 Jun 91 17:33:39 GMT Organization: Benden Weyr, Saskatoon Sk. (306)-382-5746 Lines: 8 well, I've tried several solutions to the problem myself. basically it always comes down to the problem of the base class providing all the functions you want without returning the correct types for subclasses. However, I have seen some interesting solutions done with #define macros. I think there's an example in Stroustrup's book... good luck.... -- John Montbriand - via FidoNet node 1:140/22 UUCP: ...!herald!weyr!John.Montbriand Domain: John.Montbriand@weyr.FIDONET.ORG Standard Disclaimers Apply...