@live questions

Walter Bright newshound2 at digitalmars.com
Thu Nov 26 06:28:03 UTC 2020


On 11/25/2020 8:42 PM, Dukc wrote:
> On Wednesday, 25 November 2020 at 10:51:12 UTC, Walter Bright wrote:
>> On 11/22/2020 3:14 AM, Dibyendu Majumdar wrote:
>>> @live is more complicated I suppose as it can't deal with GC pointers?
>>
>> It's not that it can't deal with them. It's that it treats them as any other 
>> pointer.
> 
> As what kind of other pointer? I quess `new int()` returns a pointer that is 
> treated as `return scope`, right?

No, it returns `int*`.


More information about the Digitalmars-d mailing list