On Wed, Oct 23, 2002 at 06:07:39PM +0100, John Levon wrote: > We have lots of code that needs to know characteristics of the inset its > looking at. Many of these are simple true/fase characterisations. It > would be nice to avoid all the code handling these traits via virtual > functions, if we could.
But "virtual functions" _is_ a solution. The alternative is something like the current code which moves the responsibility of "behaving nicely" from the inset (which has the apropriate data btw) to some "superior intelligence" (called user code). That's the mess we have now in some places. Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson)