>>>>> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes:

Lars> Andre Poenitz <[EMAIL PROTECTED]> writes:
Lars> | On Mon, Mar 10, 2003 at 12:32:46PM +0100, Lars Gullik Bjønnes wrote:
Lars> | > Angus Leeming <[EMAIL PROTECTED]> writes:
Lars> | > 
Lars> | > | > Uh, no. But returning by value should do no harm.
Lars> | > | 
Lars> | > | I agree that it would simplify things. Would you return a
Lars> string or a | > | char const* ?
Lars> | > 
Lars> | > A string.
Lars> | > 
Lars> | > A const string even...
Lars> | 
Lars> | I knew it.

Lars> One reason:

inset1-> name() == inset2->name()

Lars> Would that work with char const *?

It would work if the name is always the same char array, defined once
in the inset .C file. And the addresses can be used as inset codes
too.

JMarc

Reply via email to