On 17.04.2016 18:44, Nick Treleaven wrote:
I think @property is OK.

No, it isn't:

import std.stdio;
struct S{
    @property int delegate() foo(){ return ()=>3; }
}

void main(){
    S s;
    writeln(s.foo()); // "int delegate()"
}

Reply via email to