> Why have all functions returning a string changed from
> string func();
> to
> string const func();
I don't really know. There are only a few places where this would be
a (disputable) advantage for consistency reasons.
In general _I_ prefer returning a "nonconst" string that can be used in the
same way as the const string plus in some contexts where one you really
like to do modify the string without creating an additional temporary.
Performance-wise the two should be identical (well, that might depend
somewhat on your optimizer).
Andre'
--
André Pönitz ........................................ [EMAIL PROTECTED]