RFC: scope and borrowing

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Sat Sep 20 20:47:36 PDT 2014


On 9/12/2014 6:48 PM, Manu via Digitalmars-d wrote:
> What happens when a scope() thing finds it's way into generic code? If the type
> doesn't carry that information, then you end up in a situation like ref. Have
> you ever had to wrestle with ref in generic code?
> ref is the biggest disaster zone in D, and I think all it's problems will
> translate straight to scope if you do this.

I'm unaware of this disaster zone.


More information about the Digitalmars-d mailing list