V
Viet Le Hong
Should I return reference to a temporaty object in a function. I think I
should but g++ 3.2 always warns this thing.
Eg
..
A& test(A &a, A &aa)
{
A res;
.........
.... doing some thing....
return res;
}
Viet
should but g++ 3.2 always warns this thing.
Eg
..
A& test(A &a, A &aa)
{
A res;
.........
.... doing some thing....
return res;
}
Viet