[comp.lang.c++] collection classes

zougas@me.utoronto.ca ("Athanasios(Tom) Zougas") (10/09/90)

I've seen two techniques for emulating Smalltalk-like collection
classes. In one, the contents are pointed to by a 'void *'. In
the other, a bunch of defines are used to make the contents
pointed to by the specific type pointer. What are the netters' comments
on these? I prefer the former myself, since I don't have to mess around
with defines, which can make debugging difficult.

Tom.
p.s. I know this will be moot once 'templates' come into existence.
-- 
I can be reached at...
  zougas@me.utoronto.ca || zougas@me.toronto.edu || ...!utai!me!zougas