inout delegate

David Nadlinger via Digitalmars-d digitalmars-d at puremagic.com
Mon Oct 3 01:16:49 PDT 2016


On Monday, 3 October 2016 at 02:47:09 UTC, Manu wrote:
> On 3 October 2016 at 02:37, Timon Gehr via Digitalmars-d
>> This is a known issue: 
>> https://issues.dlang.org/show_bug.cgi?id=3720
>>
>> (What I do is: typeof(&typeof(this).f) is int delegate(), but 
>> auto x = &f
>> does not compile as the 'this' reference is missing.)
>
> It compiles for me... (using yesterday's nightly)
> I pasted it right from my code.

It wouldn't compile using Timon's frontend, which was his point.

  — David


More information about the Digitalmars-d mailing list