On Wed, Feb 26, 2003 at 04:26:36PM +0000, John Levon wrote: > What do you mean "really are pointers" ? Practically everything in LyX > is allocated off the heap - this means everywhere should use pointers ?
There is a semantical difference between a pointer used as "pointer" and a pointer used as an implementation detail to handle a resource. > > IMHO smart pointers would be a better choice, but > > of course that does not reap any perforance benefits. > > I don't understand how or why you'd use a smart pointer to pass a > reference to, say, LyXText::transposeChars() Me neither ;-) Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson)