>> Richard E Hawkins Esq writes:
REHE> lgb wrote,
>> >> Richard E Hawkins Esq writes:
>> [...]
REHE> LString curstring;
>>
REHE> curstring = par->GetWord(lastpos);
>> Note that is usually better to use:
>>
>> LString curstring(par->GetWord(lastpos)); or LString curstring =
>> par->GetWord(lastpos);
REHE> whoops, I meant to change it to the latter of that. I didn't
REHE> realize the former was valid. Does it have any different
REHE> meaning?
Not really, but
LString curstring(par->GetWord(lastpos));
show clearer that this is initialization.
LString curstring = par->GetWord(lastpos);
does look like assignment, but is initialization that too. the excat
same code should be generated.
Lgb