From: Peter Dimov (pdimov_at_[hidden])
Date: 2006-10-11 17:06:09


Thorsten Ottosen wrote:

> I think the bug is that the compiler does not allow one to take the
> adress of a temporary object (an rvalue). Normal compilers usually
> give a warning about it, but compile it.

Such code is ill-formed. No compiler is required to accept it.