Lets say I have two local objects. When the function returns, is it guaranteed which one will go out of the scope first?
For example:
I have a class like thi
The destruction happens in reverse order of construction: first m2 then m1.
m2
m1
Compiler can never delay object's lifetime behind scope end (}).
}