class obj {
};
obj func() {
return obj();
}
int main() {
obj& o = func(); // possible?
}
What is the scope the return value of a function that returns objects by value? in other word, inside the scope that this function is called, is it possible to take the reference of the returned by value object?