>> Richard E Hawkins Esq writes:

[...]
  REHE> And to make sure: it should return an LString, not a pointer
  REHE> to one?

Yes.

LString Foo::Bar() {
        LString gazonk;

        return gazonk;
}

If we used LString* we would have to take care of the delete ourself,
now we let LString handle all of that.

Lgb

Reply via email to