I have an even better idea: alan.alvarez might like to do this since he
was the one who wanted the feature, I was merely correcting an error
that read:
<quote>
Therefore, this operator could only return the address of
a temporary, which cannot be safely dereferenced.
</quote>
I was just pointing out that there are other solutions to this problem,
I wasn't asking Warren to do anything.
Warren Young wrote:
Check boost.org, there are techniques to work around this problem by
returning a small proxy-class or something like that.
I have a better idea. How about you prepare a patch implementing this,
and we'll evaluate the concept in situ. :)