Local functions infer attributes?

deadalnix via Digitalmars-d digitalmars-d at puremagic.com
Mon Sep 29 17:44:57 PDT 2014


On Tuesday, 30 September 2014 at 00:33:08 UTC, Manu via
Digitalmars-d wrote:
> I don't see ref that way at all. I see it so much simpler than 
> that:
> ref is a type of pointer. It's effectively T(immutable(*)).
> It's uses are emergent from what it is; a good way to pass big 
> things
> around in argument lists, or share references to a single 
> instance of
> something.

"I don't agree with your diagnostic. I'm suing ref conforming of
cases 2 and 3 of your diagnostic".

That sounds like a self defeating statement.


More information about the Digitalmars-d mailing list