Boost logo

Boost :

From: Thorsten Ottosen (thorsten.ottosen_at_[hidden])
Date: 2006-10-12 04:51:45


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


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk