Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!pdn!tscs!tct!chip From: chip@tct.com (Chip Salzenberg) Newsgroups: comp.lang.c++ Subject: Re: How to define a List class Message-ID: <285E7568.4E93@tct.com> Date: 18 Jun 91 21:04:40 GMT References: <350001@hpgnd.grenoble.hp.com> <28539115.4D91@tct.com> <1991Jun11.172115.2804@intellistor.com> Organization: Teltronics/TCT, Sarasota, FL Lines: 13 According to wicklund@intellistor.com (Tom Wicklund): >I think what's desired (and should be implementable) is a way to >define a list class using templates and have the compiler be smart >enough to create a single implementation for the list methods. That can already be done with templates. Create a ListBase class with all the interesting code. Then create List template in which all member functions are inline. Presto. -- Chip Salzenberg at Teltronics/TCT , "You can call Usenet a democracy if you want to. You can call it a totalitarian dictatorship run by space aliens and the ghost of Elvis. It doesn't matter either way." -- Dave Mack