DIP69 - Implement scope for escape proof references
Walter Bright via Digitalmars-d
digitalmars-d at puremagic.com
Sat Dec 13 12:52:03 PST 2014
On 12/13/2014 8:19 AM, Jacob Carlborg wrote:
> On 2014-12-13 06:11, Walter Bright wrote:
>
>> Don't make it extern, then.
>
> He's said a couple of time he's interfacing with C and/or C++ code.
Yes, and C++ code is either ref or not ref, and it is not a problem to insert
'ref' or not, manually.
>> Why are function pointers and ints going to the same argument of a
>> function? I thought you weren't using templates?
>
> I think he meant taking the address of a function with auto ref.
Right, but why is that even being attempted?
More information about the Digitalmars-d
mailing list