Hi --

On Fri, 19 Mar 2004, rolo wrote:

> Hi 
> 
> I am trying to implement a class which is cacheable. New instances
> are created if they are not already in cache.  what is the best way?

I'm not sure what you mean.  If an instance has already been created,
it's not going to be created again (whether it's in a cache or not).

> redefining new should be a good idea?

Probably not.  But can you describe the problem in more detail?


David

-- 
David A. Black
dblack / wobblini.net