D should be like this :) class D { private int delegate(void) _deleg; private int _value; // this(int delegate(void) d) { _deleg = d; } void write() { if(_deleg !is null) } _value = _deleg(); // } writefln(_value); // } }
- delegate !is null Saaa
- Re: delegate !is null Saaa
- Re: delegate !is null Steven Schveighoffer
- Re: delegate !is null Saaa
- Re: delegate !is null Steven Schveighoffer
- Re: delegate !is null Saaa
- Re: delegate !is null Steven Schveighoffer
- Re: delegate !is null Saaa
- Re: delegate !is null div0
- Re: delegate !is null Saaa
- Re: delegate !is null div0
- Re: delegate !is null Steven Schveighoffer