On Sun, Oct 12, 2003 at 08:56:59PM +0000, Angus Leeming wrote: > Cached variables are a royal pain in the butt. > > Writing explicit copy constructors simply so that we don't copy > mutable int xo_; > is a real bore. I'm sure that the author of formulabase.[Ch] would > agree with me there ;-)
So just copy it. > Why don't we have a CachedVar class template. Because it is not needed. > Shall I do it? I see no benefit. Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)