On 8/15/11 1:16 AM, Mehrdad wrote:
On 8/14/2011 7:20 AM, Andrei Alexandrescu wrote:
Walter and I have had a long discussion and we thought we'd bring an
idea for community review.
We believe it would be useful for safety purposes to disallow escaping
addresses of ref parameters. <snip>
... I hope you're joking.
(1) I thought the whole point of D was that you didn't need pointers to
program effectively?
The proposed change has little to do with needing pointers or not.
(2) Isn't this what compiler **warnings** are for?
No.
Andrei