Return ref to a constant objecthi Firedraco, Thanks a lot i understand now. I made a mistake by returning a reference. int & f1(co...
Return ref to a constant objectWrite your question here. Using eclipse, if the object is a constant, it allows to return a constan...
why return reference doesn't alter the other variableThanks, Chervil, i understand.
why return reference doesn't alter the other variableThank you Chervil & Keskiverto. So, can i say that if it is a structure of a large size, this proce...
why return reference doesn't alter the other variableSuppose i have a function: int & f1(int & p) { return p; } void main() { int a,b; ...
This user does not accept Private Messages