Originally Posted by
HelpMeC
@laserlight -
You are of course right... I have shown your comment to my instructor, what led him to mail all the students he had a mistake explaining it that way.
I think I got the big pic, but it seems like I can ask forever questions about that, like, okay, for the const version of this operator we return const reference which is just aliasing - so we are returning actually the very value of the reference eventually. So it becomes like a copy of that int assigned to another integer.
But, we are returning const reference - but the constness of this reference has no effect on this copying process to my understanding - as we're eventually assigning a copy of the value..
Thank you so much, you are amazing!!!!!!!!!!!!!!