ref is unsafe

Zach the Mystic reachBUTMINUSTHISzach at gOOGLYmail.com
Fri Jan 4 20:46:58 PST 2013


On Friday, 4 January 2013 at 20:20:08 UTC, Jonathan M Davis wrote:
> ... But it doesn't change the
> statement that a function which takes a parameter by ref and 
> returns by ref
> can't be considered @safe without additional constraints of 
> some kind. It just
> shows why you don't have an easy way out to make many of them 
> @safe based on
> the differing types involved.

Well, I've been working on just that. I'll have it for you 
tomorrow, I think.


More information about the Digitalmars-d mailing list