DIP69 - Implement scope for escape proof references

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Sat Dec 13 12:42:19 PST 2014


On 12/13/2014 8:01 AM, Jacob Carlborg wrote:
> On 2014-12-13 01:09, Walter Bright wrote:
>
>> The proposal provides escape proof passing of arguments. This is
>> necessary in order to make rc safe, for example.
>>
>> What are you looking for?
>
> Passing references to stack allocated data to functions safely is one idea that
> comes to mind.

'scope ref' does that.



More information about the Digitalmars-d mailing list