Oleg Goldshmidt <[EMAIL PROTECTED]> writes:

> I stand by my posting so far. 

Well, while it was making the round trip to the list and back, I also
made a trip to the bookshelf to check myself. Item 15 of Scott
Meyers's "Effective C++" confirms what I wrote: temps are const, and
for the reasons I covered. It explicitly says that with a declaration
like

      C& C::operator=(C& rhs) { ... }

client code won't compile.

Scott knows his stuff _much_ better than I do. moreover, it is
entirely possible (though I don't remember) that I learned that the
rhs of the assignment should be const from his books. I don't know if
"Effective C++" is available on-line, so no URL.

-- 
Oleg Goldshmidt | [EMAIL PROTECTED] | http://www.goldshmidt.org

=================================================================
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