
12 Oct
2006
12 Oct
'06
8:51 a.m.
Peter Dimov wrote:
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.
Ok. I guess I can add operator&() for the proxy returned by *iter; Or is that ill-formed too? -Thorsten