John Levon <[EMAIL PROTECTED]> writes:

| On Wed, Feb 26, 2003 at 06:51:18AM +0100, Lars Gullik Bjønnes wrote:
| 
| > Without looking tooclosely I belive the change to be sound, but I am
| > not quite sure about the use of references. Especially since the
| > actual obuects in question really are pointers, and that this is not
| > likely to change.
| 
| What do you mean "really are pointers" ? Practically everything in LyX
| is allocated off the heap - this means everywhere should use pointers ?

No...   I am unsure about practices to cast pointers to references.

| > 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()

I wouldn't pass the reference but a smart_ptr<Buffer*> whatever.
 
| > | Note this is a slightly older version, since cvs.lyx.org died YET again
| > 
| > When it should be up now?
| 
| It had a slight wobble when I wrote that, and recovered
| 
| regards
| john
| 
| p.s. welcome back ;)

Then not. Now yes.

-- 
        Lgb

Reply via email to