Operator Overloadingoops..I read it as CC and thats why the confusion.
Operator OverloadingThanks guys. I get the optimization part. @vlad: Yep..my bad ..pasted the old code with the const m...
Operator OverloadingI was trying to follow(trace) various function invocations using the below program: [code] #incl...
Operator Overloading : Return by ReferenceThank you. I now see why I need to return by reference for istream case. But for '=' operator, I don...
Operator Overloading : Return by Referencecould you please elaborate on what you mean by slicing problems? Also how about in the case of an a...