Hi,
My organization recently migrated from VC++ 6.0 to VC++ 7.1. We have
found that the temporary objects created in VC++ 6.0 were not destroyed
after the end of the expression or statement, thus temporary objects
are available with in the scope where they were created. However in
VC++7.1, temporary objects are being destroyed after the statement in
which they was created. Thou C++ standard says that the temporary
objects are destroyed at the end of the statement, I am not sure why
VC++ 6.0 and 7.1 exhibit different behaviours, I would like to know if
VC++7.1 includes this new feature or it is an undefined behaviour? Also
where can I find the features/differences for 6.0 and 7.1?
thanks a lot
jk