Why can't we make reference variables?

Nick Sabalausky SeeWebsiteToContactMe at semitwist.com
Tue Aug 28 19:10:27 PDT 2012


On Wed, 29 Aug 2012 03:44:38 +0200
"Tommi" <tommitissari at hotmail.com> wrote:

> On Wednesday, 29 August 2012 at 01:28:49 UTC, Jonathan M Davis 
> wrote:
> > Not going to happen. Unfortunately though, I don't remember all 
> > of Walter's reasons for it, so I can't really say why (partly
> > due to complications it causes in the language, I think, but I
> > don't know).
> 
> I'd really like to hear about those complications (unless they're 
> too complicated for me to understand), 

I don't remember exactly either, but IIRC, it would somehow make it
impossible to guarantee...something about references not escaping
their proper scope...



More information about the Digitalmars-d mailing list