DIP1000: Scoped Pointers (Discussion)

Robert burner Schadek via Digitalmars-d digitalmars-d at puremagic.com
Fri Aug 12 07:17:12 PDT 2016


On Friday, 12 August 2016 at 14:02:50 UTC, Chris Wright wrote:
> In the worst case, you can change the API so you can write:
>
> rcs.update("bar", (x) { x.a = 1337; x.b = 1338; });

yes, but that will not catch on. And I think (x) must be (scope 
ref x)




More information about the Digitalmars-d mailing list