Oleg Goldshmidt wrote:

Hi Shachar,

Compilers generate const temporaries to prevent accidental passing of
such a temporary to a function that would be able to modify its
argument. If that were allowed the programmer would be surprized
because only the compiler-generated temporary would be modified, not
the actual argument they thought they were passing.


Please read my latest email on this thread. If you still stand by your email, I'll answer it, as I think it misses the point by a far fetch.

         Shachar

--
Shachar Shemesh
Lingnu Open Source Consulting ltd.
http://www.lingnu.com/


================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]



Reply via email to